Tuesday, January 5, 2010

CSS sheet – Spacing after Header Tag

Have you ever had trouble with spacing around Header tags?
I sure have.

I finally realized that my CSS sheet settings could fix this.
As with any HTML tags, just mention the tag in your CSS sheet and settings:
h1,h2,h3,h4 {
margin:0px;
padding:0px;
vertical-align:top;
}

And that was my fix to remove space after a header.
As with any CSS entry we can also speak to the Header’s font in the style sheet.

h1,h2,h3,h4 {
margin:0px;
padding:0px;
vertical-align:top;
font-family: arial; font-size: 14pt; text-transform: none; color: #000066;
}

Sean K.
Providing Internet Marketing and SEO in Baltimore
Providing Internet Marketing and SEO in Maryland
www.internetbeacon.com

No comments:

Post a Comment