Header Tags Without the Extra Space

Have you ever put in a header tag (h1, h2, h3, h4, h5, h6) and struggle to get rid of the extra space underneath the tag? I do this all the time and I finally found the cure today. To get a header tag to be inline with the rest of the HTML code, just add display:inline to your stylesheet. It’s a simple as that. Now your header tag won’t have all that extra space after it and it can blend in nicely. :cool:



1 Comment      

One Comment to Header Tags Without the Extra Space Comments Feed

i guess this would work for any block level element, sometimes i forget you can chage elements to be inline.

- stephen

Leave Your Thoughts

Some comments may be held for moderation and not appear immediately. Those with links and/or harsh language may need my approval before showing up live. I may also remove or edit any that I feel are spammy in nature or just plain rude.

Subscribe without commenting


Plurk.com
Subscribe





Subscribe to the TwisterMc Feed
TwisterMc Themes For Firefox 3 Connect with me via a social network. Web Host
Apple iTunes
Tumbler Badge
Great Sites
Archives
In Expensive Quality Stock Photos Made on a Mac