Posts Tagged ‘css’

CSS sheet – Spacing after Header Tag

Friday, October 9th, 2009

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.

CSS

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
Computer Fitness