Previous Message
Next Message

IE/Win, z-index, & CSS

Sent by Anne Kosmicki on 3 March 2005 13:01


On 3/2/05 3:16 PM, "Gunlaug Sørtun" [EMAIL-REMOVED]> wrote:
> Zoe told you what's happening, but here is a simpler fix for the
> problem-- CSS only:
> 
> #header img { vertical-align: top; margin-bottom: -100px; position:
> relative; z-index: 2; }
> 
> ...and put this last in your stylesheet:
> @media all {
> * html #content #fronttext {margin-top: 0;}
> }
> 
> This all works as if those images were floating, because they are
> vertically aligned at the top. Floating them will ruin the header.
> 
> IE6 don't treat the top margin like the other browsers, so I hacked it.
> 
> IE5.0/win isn't quite good yet (if that matters), but that's not caused
> by the header. IE5.x/win can't center with auto-margins...

> 
> Can't see any dropdowns, but it makes sense since most of these
> dropdowns are absolute positioned and will relate to body if not told
> otherwise.
> 
> #page {position: relative;}
> ... should fix it - if that's what's happening.
> ---------------

Zoe & Georg - thank you so much for your help!
both problems solved!
Anne


-- 
Anne Kosmicki
Desktop Specialist
Tech 2000, Inc.
[EMAIL-REMOVED]
(703)467-8618

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: