Forums

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

Home Forums Back End CSS url(“quotes”) / yes or no ?

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33922
    aoeui
    Participant

    hi,

    basic question
    all tutorials state … use quotes

    xyz {background: url("img/bg.png");}

    but I saw a lot without quotes

    xyz {background: url(img/bg.png);}

    hell, no quotes = faster, more convenient :]
    so does it work in all borwsers, does it really matter?

    #85037
    TheDoc
    Member

    I also like to use single quotes.

    #85039

    +1 for single quotes.

    #85058
    jamygolden
    Member

    I like that it changes colour if I add quotes. I feel like it makes my stylesheet easier to read. Having said that, I haven’t used quotes within the url() value… ever =)

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