PDA

View Full Version : h1 tags style



cameron
02-13-2004, 12:27 AM
I saw mention of using CSS to change the look of h1 tags but I can't find a post about how to do it. Anyone care to share?

Best.Flash
02-13-2004, 02:08 AM
Here's an example of some of the useful attributes you can change for heading tags:



h1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 1.3em;
margin-bottom: 0px;
margin-top: 0px;
font-weight: normal
}


I always set the font size with em's so the client can increase or decrease using View > Text Size.

loads more here:

http://www.w3.org/TR/REC-CSS1