Previous Message
Next Message

List nav spacing problem in MSIE

Sent by Michael Landis on 2 December 2003 20:08


Ken wrote (about http://simplyretailinc.web-rigger.com/):

> 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).

Hi, Ken,

IE interprets the white space between list items, and does random odd
things with it. If you don't mind some odd-looking HTML, you can remove the
white space outside of the LI tags, either by running them and the UL tags
onto a single line, or breaking the tags in odd places:

<ul
><li>Item 1</li
><li>Item 2</li
></ul>

If you don't want to screw up the HTML, you can also float the list items
and make them wide enough that two list items can't side side-by-side. This
will cause them to stack on top of each other, and ignore the white space.

HTH,

MikeL

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

Possibly related: