Solved

Adding distance between list items

Posted on 2004-04-02
6
214 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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

758 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

18 Experts available now in Live!

Get 1:1 Help Now