Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    kb1
    kb1 is offline
    New Coder
    Join Date
    Mar 2007
    Posts
    65
    Thanks
    11
    Thanked 0 Times in 0 Posts

    How to change to a simple <h1>?

    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

  • #2
    Senior Coder twodayslate's Avatar
    Join Date
    Mar 2007
    Location
    VA
    Posts
    1,042
    Thanks
    67
    Thanked 39 Times in 39 Posts
    Code:
    HTML
    <h1>Heading</h1>
    
    CSS: 
    h1 { color: #000; font-size: 2em; }
    http://www.w3schools.com/tags/tag_hn.asp
    twitter | Quality Hosting - $5.95/mo*
    Feel free to PM me!

  • Users who have thanked twodayslate for this post:

    kb1 (09-19-2007)

  • #3
    kb1
    kb1 is offline
    New Coder
    Join Date
    Mar 2007
    Posts
    65
    Thanks
    11
    Thanked 0 Times in 0 Posts
    Works, thanks very much

    kb


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •