Welcome to Our Community

Wanting to join the rest of our members? Feel free to sign up today.

Sign Up

CSS background

Discussion in 'Web Design Forum' started by zeenash, Jul 28, 2010.

  1. zeenash

    zeenash Guest

    Hi friends,

    I´m new to css and have a simple question.

    What does those two 0 0 means on the following code???

    2main{background:url(images/3col-bg.jpg) repeat-y 0 0}

    Could you give me some example?
    Thanks
     
  2. SurreyWeb

    SurreyWeb New Member

    Hi zeenash

    You should find what you are looking for here:

    W3C Schools

    good site to get to know.

    Incidentally, if you are stuck with what a CSS entry does, often useful to just change the value temporarily, refresh and then a good chance you can see what this does.
     
  3. Victorious

    Victorious New Member

    The whole code means that the item with a class (i guess its a class even though it is missing a . ) has to have a background 3col-bg.jpg and repeat only over y axis 0 0 mean it has to start from X position 0 and Y position 0 if you for example put any number there it will shift the image background. You don't really need these zeros there.
     

Share This Page