I need each paragr (i.e., each <li>) to have a blank line afterwards,
like this..
1. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua.
2. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua.
3. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua.
I put two <br>'s right before </liand it works fine for both IE and FF
(miraculously...;), but this is for content that will be inserted via a
CMS, so would like to do all these kinds of attr's in CSS..
thank you very much..
-m 4 1655
maya wrote:
I need each paragr (i.e., each <li>) to have a blank line afterwards,
like this..
1. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua.
2. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua.
3. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua.
li {
margin-bottom: 1em
}
--
Johannes Koch
Spem in alium nunquam habui praeter in te, Deus Israel.
(Thomas Tallis, 40-part motet)
maya wrote:
I need each paragr (i.e., each <li>) to have a blank line afterwards,
like this..
1. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua.
2. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua.
3. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua.
I put two <br>'s right before </liand it works fine for both IE and FF
(miraculously...;), but this is for content that will be inserted via a
CMS, so would like to do all these kinds of attr's in CSS..
Just give your CSS the following rule:
ol li{margin-bottom:1em;}
Or more of course, depends on how much space you want.
Best then also add ol{margin-bottom:0;}, so that below the last one
line of an <olthere won't be more space than you want.
--
Els http://locusmeus.com/
accessible web design: http://locusoptimus.com/
On 2006-07-31, maya wrote:
I need each paragr (i.e., each <li>) to have a blank line afterwards,
like this..
1. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua.
2. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua.
3. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua.
I put two <br>'s right before </liand it works fine for both IE and FF
(miraculously...;), but this is for content that will be inserted via a
CMS, so would like to do all these kinds of attr's in CSS..
ol li {
padding-bottom: 1em;
}
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
================================================== =================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
Chris F.A. Johnson wrote:
On 2006-07-31, maya wrote:
>I need each paragr (i.e., each <li>) to have a blank line afterwards, like this..
1. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
2. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
3. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. I put two <br>'s right before </liand it works fine for both IE and FF (miraculously...;), but this is for content that will be inserted via a CMS, so would like to do all these kinds of attr's in CSS..
ol li {
padding-bottom: 1em;
}
perfect :)
thank you all so much for prompt responses!! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Gregor Horvath |
last post by:
Hi,
Before I reinvent the wheel I`d like to ask if someone has done this
before since I did not find an advice at Google.
The goal is to create a dynamic Tree View in HTML.
Say I have a...
|
by: Timo Nentwig |
last post by:
Hi!
Is the following possible?
1. one 3. three
2. two 4. four
And if so, how? If not, an offset attribute should be added to the next
version of XHTML:
|
by: Lindsey |
last post by:
Hi
I just wanted to know if you are using <ol> tags in HTML can you
specify which number to start at. E.g
Instead of
1. blad bla
2. bla bla
|
by: Michael |
last post by:
This is a two-part question to which I haven't been able to find an answer
anywhere else.
1. Is it possible to format the bullet/number character of the <li>? In my
styles sheet, I have the <li>...
|
by: Novice |
last post by:
Hi all, I'm wondering if there is an easy way to create ordered lists
of different types - for example I can get the following:
1. one
2. two
from:
<ol>
<li> one
<li> two
</ol>
|
by: Dan Jacobson |
last post by:
How does one get "5.6.4" with <OL>..<OL>..<OL>..<LI>?, at most I can
get is "4". Oh, on http://www.w3.org/TR/REC-CSS1, I see they've
hardwired it into the page, so one must use some preprocessor....
|
by: Verona Busch |
last post by:
Hi everybody,
i'm asking myself, if there's a way to assign css border: to just the
numbers of my order list <ol>.
If there's no way, there might be a way to use background-image: like to
use...
|
by: jasonchan |
last post by:
How do you align <ol> and <ul> elements when they are contained in a floated box?
Here is my website: http://geocities.com/jasonchan483/
Here's my problem.
The markers of the lists are...
|
by: Shahid |
last post by:
Hi,
I am parsing an .HTML file that contains following example code:
<div>
<p class="html_preformatted" awml:style="HTML Preformatted"
dir="ltr" style="text-align:left"><span...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |