Maybe you can try
li.ol{padding-top:10px;}
li.ul{padding-top:5px;}
<ol><li class="ol">
<ul><li class="ul">

Brownie wrote:
> Hello,
>
> I have a little problem with my css sheet, and i can't manage padding.
>
> So, I have 2 lists :
> <ol>
>   <li>
>   <ul>
>     <li>bla1 bla1</li>
>     <li>bla2 bla2</li>
>   </ul>
>   </il>
>   <li>
>   <ul>
>     <li>bla3 bla3</li>
>     <li>bla4 bla4</li>
>   </ul>
>   </li>
> </ol>
>
> I want a big space between ol li elements but a small one between ul
> li elements.
>
> So a made a css
>
> ol li
> {
>   padding-top:10px
> }
> ul li
> {
>   padding-top:5px
> }
>
> But, the "ol li" attributes control all li attributes (ol li and ul
> li).
>
> Do you have a solution ?
>
> Sincerely,
>
> Brownie

--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to