geek space web solutions

position:absolute with ie6 doesn't appear

Thursday, 21 January 2010 16:36
The major displaying problems with ie6 incentive to use "absolute" positions. Sometimes certain "div" position "absolute" does not appear in IE6.

I rarely had problems using absolute positioning. It is also often an easy way to counter some problems in ie6.

Reminder :
absolute positioning (position: absolute) is determined from the upper left corner of the browser window. The coordinates of a point expressed then from top to bottom (top) and from left to right (left) in contrast to positioning relative position that is relative to other elements ...

Recently I found a problem in ie6 put a "absolute" "div" in a joomla article.


bug absolute ie6 joomla editor

So I did a test just to see if it was a problem with Joomla, I put the same code with the "absolute" "div" directly in the template just after the "body" tag as I do most of the time as follows:

</head>
<body>

<div id="home_carte_france" style="position: absolute; left:50%;" >

<div id="page">

It works, the problem is indeed linked to the location of the "absolute" "div" in the code ...

Solutions
Add a clear: both;
clear: left; and clear: right; can also walk as appropriate.
 

Add comment


Security code
Refresh

Sections


Last articles

Effet Noir et blanc ou Nivea... Clickable area and Hand curs... Comment corriger une erreur ... Lien web dans une applicatio... Qu'est-ce que StageVideo ?... Cibler un élément DOM d'aprè... Cube 3D avec images - Paperv... Perspectives d'emploi encour... Mobile application and USB D... Modifier la page d'erreur 40...

Sondages

Do you think HTML5 can completely replace Flash ?
 
Would you be interested in an online XML editor ?
 

Paypal

paypal

Code du plugin Joomla AutoSEO 1.2 par www.geek-space.fr