Link to home
Start Free TrialLog in
Avatar of Steve Bohler
Steve BohlerFlag for United States of America

asked on

Adding distance between list items

Hello,

I don't know stylesheets, which is probably where my problem lies.

Can you tell me how I can do this to my existing code:

<ol>
<li>First item
<li>Second item
<li>Third item
</ol>

Thanks!
Avatar of akboss
akboss
Flag of United States of America image

well there is the <br> break or the <p></p>.
How much distance between list items do you want?
1 line?
Avatar of Steve Bohler

ASKER

The <p> is too much.

The <br> before the <li> doesn't seem add any space.
ASKER CERTIFIED SOLUTION
Avatar of akboss
akboss
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
<style>
li {
padding-bottom: 20px;
}
</style>


much much the better way to do this!  you can modify for exactly the amount of space you need


bruno
Thanks Bruno. That's it!
glad to be of assistance!