W3C home > Mailing lists > Public > www-style@w3.org > July 1998

CSS2 Syntax: tables

From: Ian Samson <IDSamson@beauty.hsrc.ac.za>
Date: Wed, 8 Jul 1998 13:28:01 +200
To: www-style@w3.org
Message-ID: <A4FF10521A@beauty.hsrc.ac.za>
From: http://www.w3.org/TR/WD-CSS2/tables.html#h-17.6
Here is an example:
TD.blue {border: medium solid blue} TD.thick {border: thick 
solid red}
TD.double {border: thick double black} TR {border: medium 
dotted green}
with this document:
<P>
<TABLE>
<TR><TD>1<TD class="blue">2<TD>2
<TR><TD>4<TD class="thick">5<TD>6
<TR><TD>7<TD class="double">8<TD>9
</TABLE>

Am I missing something here? What is the purpose of defining "TD.blue" when a 
simple ".blue" would suffice? Same goes for the other occurrences. Also, are the 
double-quotes around the attributes entirely necessary; "blue", "thick", "double", when 
<TD CLASS=blue>, <TD CLASS=thick> and <TD CLASS=double> work just as well?


Regards,
----------
Ian Samson
Electronic Publishing (SBN/MSDN/HWG Member)
Human Sciences Research Council, Pretoria, South Africa
Voice:  [+27(0)12] 302 2013   Fax: [+27(0)12] 302 2445
Organisation #: [+27(0)12] 302 2999
http://www.hsrc.ac.za/
--
Opinions expressed in this message are my own 
and do not reflect official policy of the HSRC.
--
Received on Wednesday, 8 July 1998 07:34:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:55 GMT