Previous Message
Next Message

Home page check

Sent by Holly Bergevin on 5 February 2005 02:02


From: "scott mcleod" [EMAIL-REMOVED]>
Date:  Fri, 04 Feb 2005 19:04:43 +0000

> Still 
>outstanding issues I would appreciate feedback on are:
>
>1) There is an annoying vertical gap between the masthead and the nav bar in
>IE 5.01 Win -- if anyone can help me rid that I'd be grateful.

Add the following selector to your imported style sheet - 

/* \*/
* html ul {margin-top: -9px; margin-top/* */: 0;}
/* */


The comment construction hides the selector inside from IE5/Mac and the - * html - hides it from all
other browsers The selector has an initial margin-top correction for IE5.0 and then the margin-top
is reset for IE5.5 and IE6. I don't know why IE5 is adding the space, but this is one way to get rid
of it. Note that the placement of spaces in the selectors is crucial to the success of the hack.

hth,

~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: