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.

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

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,

css-discuss [EMAIL-REMOVED]]
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Possibly related: