W3C home > Mailing lists > Public > www-html@w3.org > October 2002

<!DOCTYPE> vs. STYLE

From: <SCJessey@aol.com>
Date: Thu, 3 Oct 2002 21:16:18 EDT
Message-ID: <191.e67ce7c.2ace45e2@aol.com>
To: www-html@w3.org
Lam asks why the use of a DOCTYPE is stopping a table background from being 
blue.

Lam's style rules:-

table {background-color: "blue"}
p {background-color: rgb(250,0,255)}

The
 CSS for the table properties is invalid.  Change to the following:-

table { background-color: blue; }

Simon Jessey
e: <A HREF="mailto:scjessey@aol.com">scjessey@aol.com</A>
w: <A HREF="http://jessey.net/">http://jessey.net</A>
Received on Thursday, 3 October 2002 21:16:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:53 GMT