Jump to content

position:fixed not working in IE


azazel79it

Recommended Posts

hi everyone, i have this problem: i wish to make a menu aligned to the bottom of the page, that stays there if i resize the window or i scroll vertically the page.here is a small example code, that works with Firefox 1.5.0.1 but seems that the css position:fixed doesn't work with IE (my version is 6.0something) even if on the w3schools css tutorial is said that IE supports it. :) does anybody knows what's my error? :) thank u in advance!MY EXAMPLE CODE:<html> <head> <title>BLA BLA PAGE </title> </head> <body> <table width="300px" height="500px" border="1" style="color:yellow; background-color:blue;"> <tr> <td> prova prova prova </td> </tr> </table> <table border="1" style="position:fixed; bottom:0px; color:white; background-color:red;"> <tr> <td> prova prova prova </td> </tr> </table> </body></html>

Link to comment
Share on other sites

even if on the w3schools css tutorial is said that IE supports it.  :) does anybody knows what's my error? :) thank u in advance!
Where tutorial they say like that?In real life MSIE did not support fosition fixed (yet) at all.Look how it can be done with MSIE:http://w3schools.invisionzone.com/index.ph...indpost&p=15585scott is faster than I, again! :) Edited by raimo
Link to comment
Share on other sites

Where tutorial they say like that?In real life MSIE did not support fosition fixed (yet) at all.Look how it can be done with MSIE:http://w3schools.invisionzone.com/index.ph...indpost&p=15585scott is faster than I, again!  :)

thanx Scott but this means that this page is wrong? http://www.w3schools.com/css/css_positioning.aspor (worst in my mind) means that it WAS supported in version 4, but IS NOT supported in version 6 of IE? this is something scary to think about! :) :)
Link to comment
Share on other sites

Where tutorial they say like that?In real life MSIE did not support fosition fixed (yet) at all.Look how it can be done with MSIE:http://w3schools.invisionzone.com/index.ph...indpost&p=15585scott is faster than I, again!  :)

thx u too Raimo! sorry i answered to u with the precedent message instead to Scott, i'm tired from work and doing my first forum posts in my whole life eheheheheh :)
Link to comment
Share on other sites

Where tutorial they say like that?In real life MSIE did not support fosition fixed (yet) at all.Look how it can be done with MSIE:http://w3schools.invisionzone.com/index.ph...indpost&p=15585scott is faster than I, again!  :)

anyway this is the page that put me in trouble: http://www.w3schools.com/css/css_positioning.aspand sorry for being annoying :)
Link to comment
Share on other sites

Where tutorial they say like that?In real life MSIE did not support fosition fixed (yet) at all.Look how it can be done with MSIE:http://w3schools.invisionzone.com/index.ph...indpost&p=15585scott is faster than I, again!  :)

didn't worked with bottom! always aligned on top in IE, i solved it with Scott's link, thx anyway for the help! :)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...