Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 259
  • 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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