Previous Message
Next Message

IE doesn't like my fixed layout much

Sent by Holly Bergevin on 26 September 2005 01:01


From: Rob Mientjes [EMAIL-REMOVED]>

>> browser.http://zooibaai.nl/sandbox/basant/

No fixed sides in IE6

>Oh, and while we're at it:  IE: why doesn't it show the
>background and why won't it "extend" the anchor?

Add the following to your IE style sheet (conditional comment):

#navigation ul li a {
background-position: -200% 10px;
position: relative;
}

#navigation ul li a:hover {
position: absolute;
padding-top: 8px;
padding-left: 27px;
background-position: -10px 10px;
}

Then change the position: fixed to position: relative in your IE style sheet for the following
selector:

body div#navigation { position: relative; float: right; top: 0; right: 0; }

The above changes ought to at least get you close to what you want with IE. I didn't look at any
other browsers' problems that you'd mentioned.

hope that helps,

~holly
 
 
                   
______________________________________________________________________
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

Possibly related: