Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Avoiding Linefeeds in <UL> and <OL>

Status
Not open for further replies.

MrSki

Programmer
Dec 13, 2000
66
US
I am trying to find a way to be able to use ordered or unordered lists without getting the leading and trailing linefeeds. I would like the flow of text to be...

SOME TEXT SOME TEXT SOME TEXT SOME TEXT
* BULLETED LIST ITEM
* BULLETED LIST ITEM
* BULLETED LIST ITEM
* BULLETED LIST ITEM
SOME MORE TEXT SOME MORE TEXT SOME MORE TEXT

When using the tags it always makes the display look like....

SOME TEXT SOME TEXT SOME TEXT SOME TEXT

* BULLETED LIST ITEM
* BULLETED LIST ITEM
* BULLETED LIST ITEM
* BULLETED LIST ITEM

SOME MORE TEXT SOME MORE TEXT SOME MORE TEXT

and I do not wish to have the gaps. Any ideas?

Mitch Duszynski
Web Developer
Human Kinetics
PO Box 5076, Champaign, IL 61825
Tel: 217-351-5076 x2474 | Fax: 217-351-2674
mitchd@hkusa.com |
 
Try setting the line-spacing-after attribute on UL or OL in your style sheet. That should do it. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top