Skip to content
WJunction - Webmaster Forum

CSS IE6 prob

Status
Not open for further replies.
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.

About the author

Porsche_maniak
Active Member · Joined
Auto racing,Porsche,Web Development
283
Messages
0
Reactions
16
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom