Treehouse: Grow your CSS skills. Land your dream job.

[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

    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

    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.