View Full Version : IE7 Bug .

09-20-2007, 02:22 PM
If you have any element with a float: property and any element with a clear: property (to bypass the float), ANY ELEMENT with a position: fixed property completely disappears in IE7.


Any ideas folks?


09-20-2007, 02:45 PM
This is what I get on screen. Not very helpful.
We need to see the css.


09-20-2007, 03:37 PM
#body p{
color: black;}

position: fixed;
width: 15em;
height: 15em;
background: purple;}

float: right;
width: 15em;
background: green;}

width: 35em;
clear: right;
background: blue;
text-align: right;}

margin-top: 25em;}

There you go. Open the same page with firefox.

09-20-2007, 03:45 PM
It only seems to happen if you have a width set on #clear.

09-20-2007, 03:59 PM
You are absolutely right, that works in this example, but it seems to be the case that the values of other elements properties interfere with it aswell. My other thread related to www.glowstix.biz/product.html and I have now tried changing the css for that side to miss out the width property on the bottom bar. No progress.

09-20-2007, 04:10 PM
Same thing goes for the height. It works fine if you add some padding.

09-20-2007, 05:32 PM
You are an absolute legend. I have spent hours trying to sort this the last few days. IE.. pff.