Previous Message
Next Message

ul li unordered lists list level indent control

Sent by David Laakso on 6 July 2008 22:10


Barrett wrote:
> What do you think about controlling a <ul> list levels as seen by the  
> enduser in browser with css padding ?
> I just contemplated this while wrangling with some server side code  
> that builds a list dynamically based on how many records it  sees and  
> whether they are parent or children....
>   


I may be "out-to-lunch" and totally missing the point?

In the first list:

..secondlevel {padding-left: 2em;}
<li class="secondlevel">stuff</li>

is not needed.

It might simply be 
li {padding-left: 2em;}
<li>stuff</li>


The second list is an invalid construct.


-- 
http://chelseacreekstudio.com/

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: