#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2014
    Posts
    1
    Rep Power
    0

    So easy I can't see it


    Can anyone tell me whats wrong with the following CSS? I'm an absolute beginner so some help would be great! Feel free to flame me for bein a noob too

    body {
    background: url(/templates/jtb_template/images/steelbg.gif) repeat;
    background-position: center top;

    #header_graphic h1 {background-color: transparent;
    background-image: url(../images/header2.png); no-repeat left top;width: 100%;

    }

    #main-wrapper { border: 0px}
  2. #2
  3. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,007
    Rep Power
    9398
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2014
    Posts
    36
    Rep Power
    1
    Yeah, you were definitely missing the closing brace, and while you're at it...mine as well short-hand your code.

    Code:
    body {background: url(/templates/jtb_template/images/steelbg.gif) repeat center top;}
    
    #header_graphic h1 {background-image: transparent url(../images/header2.png) no-repeat left top; width: 100%;}
    
    #main-wrapper {border: 0px}

IMN logo majestic logo threadwatch logo seochat tools logo