Status
Not open for further replies.

Porsche_maniak

Active Member
283
2009
0
40
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 ?
 
1 comment
Status
Not open for further replies.
Back
Top