Re: [WSG] Adding a header to a tbody

2005-10-30 Thread Terrence Wood
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
**



Re: [WSG] Adding a header to a tbody

2005-10-30 Thread James Ellis
Hi

There is some good table info at http://htmlhelp.com/reference/html40/tables/table.html

Cheers
James


[WSG] Adding a header to a tbody

2005-10-28 Thread Ted Drake








Hi All



Ive got a new question.

Im building a large table and would
like to add some tbody elements within a cell that discusses product features.

I thought it would be nice to break it
down between accessories, batteries, weight, good karma, etc.

It would be even better if I could add a
header to these elements. However, I cant think of a way this morning to
add a header to a tbody. Im using a th on the first cell of each row and
there is no need for thead in these subtable elements. 

Does anyone have a suggestion?

Does this make sense?



Ted














[WSG] Adding a header to a tbody

2005-10-28 Thread james.mellor
- - This is an automatic reply - -

I am on leave until Monday 31 Oct

If your email is regarding the University webite, please email [EMAIL 
PROTECTED] in my absence, or contact:

Sarah Bell
Marketing Communications Manager
e: [EMAIL PROTECTED]
t: 023 9284 2948

or

Paul Krycler
Web Content Editor
e: [EMAIL PROTECTED]
t: 023 9284 2747

Regards, 
James Mellor
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Adding a header to a tbody

2005-10-28 Thread Joshua Street
Is there any rule against having  more than one thead in a table? 
Could you do:

thead/thead
tbody/tbody
thead/thead
tbody/tbody

etc...

Just guessing, mightn't be permissible (given you can make the thead
repeat with print stylesheets, I'd guess it's highly unlikely to be
allowed...)

Josh

On 10/29/05, Ted Drake [EMAIL PROTECTED] wrote:



 Hi All



 I've got a new question.

 I'm building a large table and would like to add some tbody elements within
 a cell that discusses product features.

 I thought it would be nice to break it down between accessories, batteries,
 weight, good karma, etc.

 It would be even better if I could add a header to these elements. However,
 I can't think of a way this morning to add a header to a tbody. I'm using a
 th on the first cell of each row and there is no need for thead in these
 subtable elements.

 Does anyone have a suggestion?

 Does this make sense?



 Ted





--
Joshua Street

http://www.joahua.com/
+61 (0) 425 808 469
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**