Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Which CSS Format is Right?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28381
    bruizerbeans
    Member

    url(images/car.jpg);

    or

    url("images/car.jpg");

    Should I include or not include quotations around by image path.

    #72359
    bruizerbeans
    Member

    I’ve seen both accounts when I view the sources with firebug. I just want to make sure I am using the correct way. :D

    #72381
    Chris Coyier
    Member

    I’m pretty sure it doesn’t matter. I never use quotes but that’s just personal preference (and all the less characters to type and serve). Does the CSS validator care?

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.