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!

Annoying break after H1, H2, H3 etc.

Status
Not open for further replies.

Streetdaddy

Programmer
Jun 10, 1999
161
AU
When applying H1,H2,H3 etc as well as using <ol>, I always get an annoying break after the text that is being formatted. Is there a way to eliminate this in CSS? Miles
busymiles@lan-house.net
 
Kill the margin-bottom/top.

H1 {margin:0}

[bb]
 
Either that, or use styles on spans and don't use H1, etc.
Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
That is usually what I do, but this will make it easier for the people creating HTML content... Rather than explain spans, Ill just tell them to apply H1, H2 etc. using Dreamweaver... Thanks :) Miles
busymiles@lan-house.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top