Sent by Patrick Griffiths on 3 December 2003 00:12
> > Can anyone find why I'm getting extra vertical space between the
list
> > nav links in IE-PC? It's looking great in Moz, IE, Safari, and Opera
> > (all Mac).
> >
> > <http://simplyretailinc.web-rigger.com/>
> >
> > <http://simplyretailinc.web-rigger.com/std.css>
>
> Yes, someone answered this question for me recently. Windows IE needs
the
> HTML for lists run together without new lines because it stupidly
renders
> the space in the code as space in the layout. So just remove all the
line
> breaks within the HTML for the unordered list you're using for the nav
menu.
>
You can do something like this to retain indentation:
<ul><!--
--><li>this</li><!--
--><li>that</li><!--
--><li>the other</li><!--
--></ul>
I know it's not CSS, but it solves a problem that initially appears to
be with CSS.
I remember when I first came across it and it confused the hell out of
me.
----------------
Patrick Griffiths (PTG)
www.htmldog.com/ptg/
www.htmldog.com
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/