- From: Jeffrey Yasskin <jyasskin@hotmail.com>
- Date: Sun, 28 Oct 2001 21:07:26 -0600
- To: "'Darren Ferguson'" <darren@crystalballinc.com>
- Cc: <www-style@w3.org>
> -----Original Message----- > From: Darren Ferguson [mailto:darren@crystalballinc.com] > Sent: Sunday, October 28, 2001 4:17 PM > To: Jeffrey Yasskin > Cc: 'Sampo Syreeni'; www-style@w3.org > Subject: RE: How is it possible to devise such a feeble system? > > For this to display correctly would you not have to put a > table row around the top ones because the structure i see just now is > > <table> > <td>Rates</td> > <td>$0-$1000</td> > <td>$1000-$2000</td> > <td>$2000+</td> > <tr> > <td>6mo</td> > <td>2%</td> > <td>3%</td> > <td>4%</td> > </tr> > <tr> > <td>2yr</td> > <td>4%</td> > <td>5%</td> > <td>6%</td> > </tr> > </table> > > Obviously there are TH in here also but i don't know XML too > well however > > I believe you should have a <tr></tr> just after the <table>. No, you don't need the explicit <tr>. <http://www.w3.org/TR/REC-CSS2/tables.html#anonymous-boxes> says: "If the parent P of a 'table-cell' element T is not a 'table-row', an object corresponding to a 'table-row' will be generated between P and T. This object will span all consecutive 'table-cell' siblings (in the document tree) of T." You've got the right structure, however, and there ought to be <th>s, but there aren't because the CSS2 table model isn't mature yet. Jeffrey Yasskin
Received on Sunday, 28 October 2001 22:06:08 UTC