Click here to get back home

Double-spacing 1st List Level, but not Nested Levels

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Double-spacing 1st List Level, but not Nested Levels Ben 07-09-2006
Posted by Ben on July 9, 2006, 8:24 pm
Please log in for more thread options


I have some ordered lists, containing unordered lists. I want to
double-space the "paragraphs", i.e. ordered lists. But not the the
nested lists. I can't figure out how. Page is here:
http://s90632679.onlinehome.us/radio.html


Posted by Chris F.A. Johnson on July 9, 2006, 8:47 pm
Please log in for more thread options


On 2006-07-10, Ben wrote:
> I have some ordered lists, containing unordered lists. I want to
> double-space the "paragraphs", i.e. ordered lists. But not the the
> nested lists. I can't figure out how. Page is here:
> http://s90632679.onlinehome.us/radio.html

Add this to your stylesheet:

ol > li {
margin-bottom: 2em;
}

--
Chris F.A. Johnson, author <http://cfaj.freeshell.org>
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
===== My code in this post, if any, assumes the POSIX locale
===== and is released under the GNU General Public Licence

Posted by Ben on July 10, 2006, 11:34 am
Please log in for more thread options


Thanks! I've never seen ">" before.

On another note, the page won't validate at the w3c validator, because
the "target" attribute in an anchor apparently violates HTML 4 Strict.
Is there a way to get these audio files to open in a separate window,
and comply with HTML 4 Strict?


Chris F.A. Johnson wrote:
> On 2006-07-10, Ben wrote:
> > I have some ordered lists, containing unordered lists. I want to
> > double-space the "paragraphs", i.e. ordered lists. But not the the
> > nested lists. I can't figure out how. Page is here:
> > http://s90632679.onlinehome.us/radio.html
>
> Add this to your stylesheet:
>
> ol > li {
> margin-bottom: 2em;
> }
>
> --
> Chris F.A. Johnson, author <http://cfaj.freeshell.org>
> Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
> ===== My code in this post, if any, assumes the POSIX locale
> ===== and is released under the GNU General Public Licence


Similar ThreadsPosted
overlapping nested list problem in ie April 5, 2007, 12:00 pm
How to construct XHTML-compliant nested list? August 25, 2006, 1:31 am
Avoiding new lines in tables and doublespacing every word ... January 23, 2006, 9:41 pm
Multiple-level Table of Contents April 6, 2006, 9:59 am
Help with multi level category navigation April 11, 2006, 1:50 pm
W3C Spec: Block level content within ? Style in ? Why? June 9, 2005, 6:20 am
Nested forms August 20, 2004, 9:53 am
nested frames October 13, 2005, 10:21 pm
RE: nested frames October 15, 2005, 5:08 am
Form and nested elements November 10, 2004, 11:57 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap