1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Quick CSS Question

Discussion in 'Web Design' started by teenmoney, Jun 10, 2009.

  1. teenmoney

    teenmoney Regular Member

    Joined:
    Oct 5, 2008
    Messages:
    387
    Likes Received:
    168
    Hey guys I have a quick CSS question. I am working on editing a WP layout and the code for the header looks like this:

    Code:
    #header {
    	background:url(images/header-bg3.jpg) repeat-x 0 36px;
    }
    I was wondering if someone could tell me what "0 36px" does?

    Thanks
     
  2. richjerkoff

    richjerkoff Junior Member

    Joined:
    Apr 7, 2008
    Messages:
    159
    Likes Received:
    79
    Location:
    UK
    I believe it sets the background position to 0px from the left and 36px from the top.
     
    • Thanks Thanks x 1
  3. teenmoney

    teenmoney Regular Member

    Joined:
    Oct 5, 2008
    Messages:
    387
    Likes Received:
    168
    Sweet thanks :)
     
  4. ukescuba

    ukescuba Jr. VIP Jr. VIP Premium Member

    Joined:
    Feb 24, 2008
    Messages:
    994
    Likes Received:
    634
    Occupation:
    Mobile Marketer & QR Code Junkie
    Location:
    San Antonio, TX
    Home Page:
    also if you are doing css shorthand and are just getting in to CSS you might want to check this out:

    Code:
    http://www.dustindiaz.com/css-shorthand/
    personally for a beginner i would probably recommend using regular (longhand) css till you get familiar with all the parameters/attributes

    thanks

    ukescuba