Previous Message
Next Message

IE/PC giving me extra padding on my LIs

Sent by Austin, Darrel on 4 August 2004 20:08


>> What's odd is that giving the LIs a border removes the gap.
> 
> It has to do with the object not having "layout", which is something
> objects in IE may or may not have, but which you don't have much
> control over :/

Ugh. ;o)

> Two things may work:
> 1) where you're setting "display:block", change it to:
> display:block;
> display:inline-block; 
> OR
> 
> 2) make your LI's "float:left",

Both methods work wonderfully. Thanks!

-Darrel
______________________________________________________________________
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: