Sent by Mike Marco on 22 June 2003 12:12
Jeoren Coumans wrote:
> I have <ul> lists for navigation but in IE6 they're displayed with much
> space between each <li> item. How can I fix this?
I usually write a CSS rule like this:
LI {
float : left;
clear : both;
margin : 0;
padding : 0;
}
Note the "float" and "clear" properties. This seems to take care of it.
(Also: I recommend that you make this property contextual so that it applies
only to your navigation, as opposed to all instances of LI. This way, lists
in your content won't break.)
HTH,
- MikeM
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/