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 5 of 5

Thread: help?

  1. #1
    New to the CF scene
    Join Date
    Oct 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    help?

    ok, im teaching myself CSS/HTML i have written a little css page, but it doesnt seem to work, can anyone help me?, thanks

    the color changes back to black after i inserted the left align tag, how do i fix this?
    Code:
    body {background:#b0c4de url('background1.jpg') no-repeat right top; 
    font: bold italic small-caps 1em/1.5em verdana,sans-serif;}
    
    h1 { color: #fffff;text-align:left}
    h2 { color: #fffff;text-align:left}
    h3 { color: #fffff;text-align:left}
    h4 { color: #fffff;text-align:left}
    h5 { color: #fffff;text-align:left}

  • #2
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Count the number of Fs and compare that to how many there should be.

  • #3
    New to the CF scene
    Join Date
    Oct 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    gahhh, sorry -.-

  • #4
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,338
    Thanks
    5
    Thanked 363 Times in 360 Posts
    You can also style all heading tags with one rule.

    h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    text-align: left;
    }

  • #5
    New to the CF scene
    Join Date
    Oct 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    aweosme, thanks


  •  

    Posting Permissions

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