The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

[Solved] Which CSS Format is Right?

  • # March 13, 2010 at 6:13 pm




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

    # March 13, 2010 at 6:35 pm

    This reply has been reported for inappropriate content.

    No quotations is supposedly the right way…..not sure why though!

    # March 13, 2010 at 7:27 pm

    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

    # March 14, 2010 at 3:45 pm

    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?

    # March 14, 2010 at 4:25 pm

    This reply has been reported for inappropriate content.

    Either is correct and work in all. Therefore use no quotes.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed