Previous Message
Next Message

spacing between list items

Sent by Bob Easton on 6 September 2004 01:01


Eliana Berlfein wrote:

> I have a left nav that is created using a list. It looks great on the 
> Mac, but in IE on the PC the items are too far apart. How can I make 
> them more consistant across platforms?
> 
It's not your CSS.

IE has a whitespace bug with lists.  It adds extra space after each 
</li>.  The easiest ways to fix the problem are:

1. Run all of the list items together on one line.

2. Wrap the </li> tag across two lines, like such:
	<ul>
	<li>Menu item one</li
	><li>Menu item two</li
	></ul>

-- 
Bob Easton
______________________________________________________________________
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

Message thread: