...

View Full Version : How to change to a simple <h1>?



kb1
09-18-2007, 11:33 PM
Hello

I would like to turn the following into h1, h2, h3

.sectionHead { color: #003366; font-size: 17px; font-family: Arial, Helvetica, sans-serif; line-height: normal; text-decoration: none }
.Headline { color: #0a4c89; font-size: 24px; font-family: Arial, Helvetica, sans-serif; font-weight: normal; line-height: 28px; text-decoration: none }
.subHead { color: #0a4c89; font-size: 13px; font-family: Arial, Helvetica, sans-serif; font-weight: bold; line-height: 18px; text-decoration: none }

How do I do this? with a # or a .?

When I use # and put the <h1></h1> around my text, the text doesn't apply the <h1>. I want to replace the span subhead with a simple<h1> -

<td valign="top" bgcolor="white" class="copy"><span class="subHead">Revolutionary Technology for the Next Generation of Wireless Networks</span><br /> <br />

I assume the "class=copy" is what is overriding my <h1> but not sure how to fix...

Thanks
KB

twodayslate
09-19-2007, 01:27 AM
HTML
<h1>Heading</h1>

CSS:
h1 { color: #000; font-size: 2em; }

http://www.w3schools.com/tags/tag_hn.asp

kb1
09-19-2007, 01:30 AM
Works, thanks very much

kb



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum