Sent by Chris Casciano on 26 February 2002 11:11
These days I find myself cursing IE6 more then any other browser out
there... And that includes NN4... Which is no small feat. A friend of mine
approached me with this problem earlier today and it has me stumped:
The goal was to position the single large element off the bottom of the
window. Using position:absolute and bottom:20px worked for him in IE6 &
Mozilla, but the element couldn't bee seen in IE%/mac. (which is why he came
to me). After a brief look at the doc I realized this was because the body
element had essentially a zero height in IE/mac & position:fixed was really
what he wanted to use. But using position:fixed alone would clobber IE/PC -
and we can't have that now, can we? ARG!?!
To cover both I then suggested:
#content {
position:absolute;
position:fixed;
}
But, IE6 seems to not behave as I expected - that since it couldn't handle
fixed it would ignore it and hence maintain the position:absolute
declaration.
Is it a bug in my thought process (that IE6 should ignore the 2nd
declaration)? Is it a bug in IE6's parsing logic/broken code (e.g. It knows
what position:fixed is but screws it up)? Am I doing something wrong above?
Is there some other way - via css - I can get write the above to have
IE/Mac, IE/PC & Mozilla to all do what I want them to?*
*This is now for my curiosity only as the original doc is now serving fixed
or absolute via css
--
Chris Casciano home >> http://www.placenamehere.com/
words > http://www.chunkysoup.net/
[EMAIL-REMOVED] fun >>> http://www.neuralust.com/~cac6982/