[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 260
  • Last Modified:

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!
0
skbohler
Asked:
skbohler
  • 2
  • 2
  • 2
1 Solution
 
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
 
akbossCommented:

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

0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now