[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Adding distance between list items

Posted on 2004-04-02
6
Medium Priority
?
257 Views
Last Modified: 2008-03-06
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
Comment
Question by:skbohler
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 6

Expert Comment

by:akboss
ID: 10743621
well there is the <br> break or the <p></p>.
How much distance between list items do you want?
1 line?
0
 

Author Comment

by:skbohler
ID: 10743660
The <p> is too much.

The <br> before the <li> doesn't seem add any space.
0
 
LVL 6

Accepted Solution

by:
akboss earned 500 total points
ID: 10743751

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

0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 18

Expert Comment

by:bruno
ID: 10750819
<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
 

Author Comment

by:skbohler
ID: 10751689
Thanks Bruno. That's it!
0
 
LVL 18

Expert Comment

by:bruno
ID: 10751936
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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question