So, apart from saving 2 bytes on transfer, there's no really technical reason why one is better?

Cool  :o)

Just thought I'd get  that checked by my technically-minded peers!  :o)

R


----- Original Message ----- From: "Lachlan Hunt" <[EMAIL PROTECTED]>
To: <wsg@webstandardsgroup.org>
Sent: Thursday, April 20, 2006 2:58 PM
Subject: Re: [WSG] Single or Double Quotes


Richard Czeiger wrote:
What's the consensus on this one?
Should you use single or double quotes for background images in your CSS?

background-image: url('image.jpg'); or background-image: url("image.jpg");

C) None of the above.
   background-image: url(image.jpg);

And here's the real question: why?

Because it's 2 characters you don't need in most cases and nicely side steps this whole issue of single vs double quotes. Whatever you choose, it's really just a matter of personal preference, but you should be consistent.

--
Lachlan Hunt
http://lachy.id.au/
******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************




******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to