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. ![]()














i guess this would work for any block level element, sometimes i forget you can chage elements to be inline.
- stephen November 4th, 2005 at 1:53 pm
Mozilla Firefox 1.0.7 - Windows 2000