Forum Moderators: open

Message Too Old, No Replies

Designating totals in the last row of a table?

similar to using th tags for headings in the first row

         

Purple Martin

9:31 am on Oct 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm not sure if this question belongs in the HTML or CSS forum, it depends on what the best answer is...

When I have a table, the data goes in <td> tags.
When the first row contains column headings, I use <th> tags for that row. I can then style them to make them stand out visually.
When the last row contains totals and I want them to stand out, I can... what can I do?

I could use <th> tags in the totals row, but that doesn't really make sense as they're not headings (but on the other hand they do kind of stand for the whole column, so they're close to being like headings). I could use a CSS class on each cell in the totals row, but then there would be no meaning provided to the user agent.

What I'd like is a totals tag (for example <tt> for table total) that I can use to designate totals, and then I could style them to make them stand out visually.

MonkeeSage

10:42 am on Oct 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<tfoot> :)

Jordan