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

    Join Date
    Jun 2002
    Posts
    17
    Rep Power
    0

    CSS margin and background-image not working together


    Hi, when I try to do something like this

    Code:
    body {
    	background-image: url(image.gif)
    	margin: 0px
    }
    nothing happens, but when I do them seperately, they work fine. I don't see why they wont work together.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2002
    Posts
    17
    Rep Power
    0
    doh, i need to be shot

    i forgot to put semicolons after each statement

    thanks anyways

IMN logo majestic logo threadwatch logo seochat tools logo