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:
<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

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?

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
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 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:47 UTC