Joshua Street said: > Is there any rule against having more than one <thead> in a table?
Ted Drake <[EMAIL PROTECTED]> wrote: >> I can't think of a way this morning to add a header to a tbody. @Joshua tbody is a misnomer... a better name would have been rowgroup, but I digress... Yes, you can have multiple tbody elements in a table. tbody is an implied element when you have *not* defined thead or tfoot in the table, otherwise it is required. @Ted You are only allowed one thead, and one tfoot (which must appear before tbody) per table. A heading for a tbody is th with scope="rowgroup". Of course, browser support for the scope attribute is patchy, but this is the semantically correct way of marking it up. It also gives you a really nice hook on which to apply your css: th[scope=rowgroup] Some samples of complex table markup: http://www.treasury.govt.nz/cms/samplemarkup/index.htm @people rushing to their favorite validators =) Yes, I'm aware of the missing alt, it's in the pipeline for a fix. See if you can find the error that the w3c validator misses. Replies offlist. kind regards Terrence Wood. ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
