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!
skbohlerAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
akbossConnect With a Mentor Commented:

you can always add more . <br><br>
this puts a double line which sometimes is closer to what you really want.

0
 
akbossCommented:
well there is the <br> break or the <p></p>.
How much distance between list items do you want?
1 line?
0
 
skbohlerAuthor Commented:
The <p> is too much.

The <br> before the <li> doesn't seem add any space.
0
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
brunoCommented:
<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
0
 
skbohlerAuthor Commented:
Thanks Bruno. That's it!
0
 
brunoCommented:
glad to be of assistance!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.