Is fixed positioning of a div supported in IE? Is fixed positioning of ANYTHING supported in IE? I can't seem to get it to work. On the other hand, when I try to view it in Netscape, I get the scrolling part of the sreen running over, instead of under, the fixed element. Shouldn't the area of the screen that moves disappear under the fixed area? I wanted my navbar and masthead to be fixed, but I've had to change them both back to absolute positioning. Help!
Linda
<!-- w --><a class="postlink" href="http://www.betterwaypress.com">www.betterwaypress.com</a><!-- w --> (<!-- m --><a class="postlink" href="http://www.betterwaypress.com">http://www.betterwaypress.com</a><!-- m -->)It's not technically supported (suprise, suprise) but there are workarounds (<!-- m --><a class="postlink" href="http://devnull.tagsoup.com/fixed/">http://devnull.tagsoup.com/fixed/</a><!-- m -->) available. As regards the fixed element not appearing on top, it sounds like you need to adjust z-index (<!-- m --><a class="postlink" href="http://www.w3.org/TR/REC-CSS2/visuren.html#q30">http://www.w3.org/TR/REC-CSS2/visuren.html#q30</a><!-- m -->).
AdamThanks. The z-index worked. I find that I can only use it for the masthead, but not for the navbar, however. That's because the navbar continues its color all the way down to the end of the page, using an image in the body tag. If I scroll left and right using fixed positioning, that graphic scrolls too, instead of staying put. It ends up looking wierd because part of the navbar stays put (the part that's a div) and part of it doesn't (the part that's an image in the body tag.) Oh well. Someday I'll change the way I contruct that navbar.
<!-- w --><a class="postlink" href="http://www.betterwaypress.com">www.betterwaypress.com</a><!-- w --> (<!-- m --><a class="postlink" href="http://www.betterwaypress.com">http://www.betterwaypress.com</a><!-- m -->)
<!-- w --><a class="postlink" href="http://www.lindamoran.net">www.lindamoran.net</a><!-- w --> (<!-- m --><a class="postlink" href="http://www.lindamoran.net">http://www.lindamoran.net</a><!-- m -->)
Linda
<!-- w --><a class="postlink" href="http://www.betterwaypress.com">www.betterwaypress.com</a><!-- w --> (<!-- m --><a class="postlink" href="http://www.betterwaypress.com">http://www.betterwaypress.com</a><!-- m -->)It's not technically supported (suprise, suprise) but there are workarounds (<!-- m --><a class="postlink" href="http://devnull.tagsoup.com/fixed/">http://devnull.tagsoup.com/fixed/</a><!-- m -->) available. As regards the fixed element not appearing on top, it sounds like you need to adjust z-index (<!-- m --><a class="postlink" href="http://www.w3.org/TR/REC-CSS2/visuren.html#q30">http://www.w3.org/TR/REC-CSS2/visuren.html#q30</a><!-- m -->).
AdamThanks. The z-index worked. I find that I can only use it for the masthead, but not for the navbar, however. That's because the navbar continues its color all the way down to the end of the page, using an image in the body tag. If I scroll left and right using fixed positioning, that graphic scrolls too, instead of staying put. It ends up looking wierd because part of the navbar stays put (the part that's a div) and part of it doesn't (the part that's an image in the body tag.) Oh well. Someday I'll change the way I contruct that navbar.
<!-- w --><a class="postlink" href="http://www.betterwaypress.com">www.betterwaypress.com</a><!-- w --> (<!-- m --><a class="postlink" href="http://www.betterwaypress.com">http://www.betterwaypress.com</a><!-- m -->)
<!-- w --><a class="postlink" href="http://www.lindamoran.net">www.lindamoran.net</a><!-- w --> (<!-- m --><a class="postlink" href="http://www.lindamoran.net">http://www.lindamoran.net</a><!-- m -->)