As you know ie6 doesn't support fixed position as in the other browsers.

So i am using

Code: 
* html #mydiv2{
position: absolute;
top: expression(document.compatMode=="CSS1Compat"? document.documentElement.scrollTop+581+"px" : body.scrollTop+5+"px");
}
to stick (fix) the image 5 px from the bottom.But that is for 1024x768 resolution,because i am using 'from top' attribute.
If i use documentElement.scrollBottom+5+"px" it simply doesn't work.
Any1 can help ?
Porsche_maniak Reviewed by Porsche_maniak on . CSS IE6 prob As you know ie6 doesn't support fixed position as in the other browsers. So i am using * html #mydiv2{ position: absolute; top: expression(document.compatMode=="CSS1Compat"? document.documentElement.scrollTop+581+"px" : body.scrollTop+5+"px"); } to stick (fix) the image 5 px from the bottom.But that is for 1024x768 resolution,because i am using 'from top' attribute. Rating: 5