Previous Message
Next Message

how2 kill <li> indent?

Sent by Saila, Craig on 17 October 2003 23:11


Doug Miller wrote:
> list-style: none
> text-indent: 0pt;
> 
> List items are without leading bullets and are not indented, in
> Safari, and Netscape (Win & Mac), and IE (Mac).
> 
> But, in IE (Win) the indent is still there, but the bullet is gone.

Best all-around solution (because IE and the others using a different
model for spacing lists) is to do the following: 
 list-style: none; 
 margin-left: 0; 
 padding-left: 0; 

If you want to increase the indent on a list, add a value to one of
"margin-left" or "padding-left". 

-- 
Cheers,

Craig Saila
------------------------------------------
[EMAIL-REMOVED] : http://www.saila.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/
Previous Message
Next Message

Possibly related: