Solved

Adding distance between list items

Posted on 2004-04-02
6
233 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

770 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