Solved

Adding distance between list items

Posted on 2004-04-02
6
224 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
  • 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 125 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now