W3C home > Mailing lists > Public > www-html@w3.org > December 2003

Re: [XHTML2][CSS3] Tables: A proposal to support styling by columns

From: Lachlan Hunt <lachlan.hunt@iinet.net.au>
Date: Mon, 15 Dec 2003 13:52:17 +1100
Message-ID: <3FDD21E1.2070901@iinet.net.au>
To: ernestcline@mindspring.com
Cc: W3C HTML List <www-html@w3.org>

Ernest Cline wrote:

> Example 7
> <!-- An XHTMLish table -->
> <table>
>   <tr><th>1</td><th>2</th><th>3</th></tr>
>   <tr><th>4</td><td id="a">5<br />8</td><td>6</td></tr>
>   <tr><th>7</td><tc tref="a" /><td>9</td></tr>
> </table>
> The <tc> element would take but a single attribute tref of type IDREF...

   Ignoring your errors above (and in most of your other examples), such 
as where you wrote "<th>1</td>", This is a reasonable idea, but it may 
need some improving.

Question 1.
   To write the equivalent of rowspan="3" (or colspan) would you just 
add additional <tc/> elements with the same tref value?
   <tr><th>4</td><td id="a">5<br />8</td><td>6</td></tr>
   <tr><th>7</td><tc tref="a" /><td>9</td></tr>
   <tr><th>10</td><tc tref="a" /><td>12</td></tr>

Question 2.
   What would happen if an author used a <tc/> element with a reference 
to a non-adjacent cell? like this:
   <tr><td id="a">1</td><td>2</td><tc tref="a"/></tr>

Received on Sunday, 14 December 2003 22:08:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:06 UTC