2 replies [Last post]
whitesell
Offline
newbie
Last seen: 16 years 22 weeks ago
Timezone: GMT-6
Joined: 2004-06-29
Posts: 2
Points: 0

Hi,

I've formatted H2 like this:
H2 {
font-size : 12px;
font-weight : bold;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
}

But I want to get rid of the extra space after I close the H2 tag. H tags normally add something similar to a paragraph space after the tag is closed, but I need normal line spacing.

What can I add to remove the extra space the tag places after the text?

Thanks!

ZB-Rob
ZB-Rob's picture
Offline
Regular
Netherlands
Last seen: 16 years 29 weeks ago
Netherlands
Timezone: GMT+2
Joined: 2004-05-16
Posts: 32
Points: 0

changing line spacing of H tags

Try a margin.

Zooibaai.nl

whitesell
Offline
newbie
Last seen: 16 years 22 weeks ago
Timezone: GMT-6
Joined: 2004-06-29
Posts: 2
Points: 0

changing line spacing of H tags

That did it, thanks!!