[thelist] css rendering myths and optimizing

Morgan Kelsey morgan at morgankelsey.com
Wed Mar 13 13:13:00 CST 2002


> > <td class="some_class" style="background-color : '#dddddd';">
> >
> [ /snip ]
>
> Are there supposed to be ' around the hex value? I've never put them,
> and my stylesheets seem to work.
>

no you don't need the quotes!

thanks Burhan,
i just noticed i tend to do them both ways,
but the spec doesn't indicate that they're needed, and the examples at the
w3 site don't have quotes.
http://www.w3.org/TR/REC-CSS1

there's a couple of less bytes per page saved!



morgan
~~~~~~~~~~~~~~~~~~~~~~~~~
www.morgankelsey.com





More information about the thelist mailing list