Re: [WSG] Table header

2005-08-15 Thread Douglas Clifton
Why stop there? Here's the skeleton of a two column table with
summary, caption, header, body and footer. Note that the first
column is designed to be a label for the data in the second.
Also note the placement of the tfoot element in the sequence.
This is important.

table id= class= summary=
 caption/caption
 thead
  tr
   th colspan=2 title=/th
  /tr
  tr class=col
   th scope=col title=/th
   th scope=col title=/th
  /tr
 /thead
 tfoot
  tr
   td colspan=2 title=/td
  /tr
 /tfoot
 tbody
  tr
   th scope=row/th
   td/td
  /tr
 /tbody
/table

-- 
Douglas Clifton
[EMAIL PROTECTED]
http://loadaveragezero.com/
http://loadaveragezero.com/app/s9y/
http://loadaveragezero.com/drx/rss/recent

 From: Patrick H. Lauke [EMAIL PROTECTED]
 Date: Sun, 14 Aug 2005 12:16:26 +0100
 Subject: Re: [WSG] Table header
 
 
 
 Lea de Groot wrote:
 
  The thead tag is the key -
 
 If you're using thead, you may as well go all the way and add a tbody as
 well...
 
table
thead
tr
 thID/ththVar 1/ththVar 2/th
/tr
/thead
tbody
 tr
 tdID VALUE/td
 tdVar 1 value/td
 tdVar 2 value/td
 /tr
/tbody
/table
 
 --
 Patrick H. Lauke
 __
 re·dux (adj.): brought back; returned. used postpositively
 [latin : re-, re- + dux, leader; see duke.]
 www.splintered.co.uk | www.photographia.co.uk
 http://redux.deviantart.com
 __
 Web Standards Project (WaSP) Accessibility Task Force
 http://webstandards.org/
**
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] Table header

2005-08-14 Thread Lea de Groot
On Sat, 13 Aug 2005 16:59:01 +0100, Jorge Laranjo wrote:
 I want to make a table so that the first row will be a HEADER with 3 cells.

This:
 table
 thead
 tr
thID/ththVar 1/ththVar 2/th
 /tr
 /thead

tr
tdID VALUE/td
tdVar 1 value/td
tdVar 2 value/td
/tr
 /table
should give you what you want, and validate (Havent checked it)

The thead tag is the key - 
http://www.w3schools.com/tags/tag_thead.asp

HIH
Lea
-- 
Lea de Groot
Elysian Systems - http://elysiansystems.com/
Brisbane, Australia
**
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] Table header

2005-08-14 Thread Patrick H. Lauke

Lea de Groot wrote:

The thead tag is the key - 


If you're using thead, you may as well go all the way and add a tbody as 
well...


  table
  thead
  tr
thID/ththVar 1/ththVar 2/th
  /tr
  /thead
  tbody
tr
tdID VALUE/td
tdVar 1 value/td
tdVar 2 value/td
/tr
  /tbody
  /table

--
Patrick H. Lauke
__
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
__
Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
__
**
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] Table header

2005-08-14 Thread John Foliot - WATS.ca
Patrick H. Lauke wrote:
 Lea de Groot wrote:
 
 The thead tag is the key -
 
 If you're using thead, you may as well go all the way and add a tbody
 as well...
 
table
thead
tr
   thID/ththVar 1/ththVar 2/th
/tr
/thead
tbody
   tr
   tdID VALUE/td
   tdVar 1 value/td
   tdVar 2 value/td
   /tr
/tbody
/table

Heck, if you're going to go all the way, why not also include the
tfoot (which comes after the thead, but before the tbody and
essentially mimics the thead - this is useful for larger tables).
Then, if you want to get real fancy, and you have a larger table, you
can set the height of the tbody and make it scroll.  While not
supported in all browsers, those that don't will simply default to a
full table:

tbody style=height: 350px; overflow: scroll;

Sample at: http://wats.ca/resources/accesskeysandkeystrokes/38

Cheers!

JF
--
John Foliot  [EMAIL PROTECTED]
Web Accessibility Specialist / Co-founder of WATS.ca
Web Accessibility Testing and Services
http://www.wats.ca   
Phone: 1-613-482-7053 


**
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] Table header

2005-08-14 Thread David Laakso

Jorge Laranjo wrote:


Hi there!
I want to make a table so that the first row will be a HEADER with 3 
cells.

[...]


An interesting alternative?
Posted on another list a while back by Al Sparber:
http://www.projectseven.com/csslab/testing/lists/grid.htm
Regards,
David Laakso

--
David Laakso
http://www.dlaakso.com/


**
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] Table header

2005-08-14 Thread Patrick H. Lauke

David Laakso wrote:


An interesting alternative?
Posted on another list a while back by Al Sparber:
http://www.projectseven.com/csslab/testing/lists/grid.htm


Interesting, but structurally dubious and not really suitable based on 
the original question, which already has


thID/ththVar 1/ththVar 2/th

P
--
Patrick H. Lauke
__
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
__
Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
__
**
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] Table header

2005-08-14 Thread Terrence Wood
Agreed, the point of standards design is not that tables are bad, but 
using markup with meaning (a.k.a semantic markup) is better.


kind regards
Terrence Wood.

On 15 Aug 2005, at 3:59 AM, Patrick H. Lauke wrote:

David Laakso wrote:

An interesting alternative?
http://www.projectseven.com/csslab/testing/lists/grid.htm
Interesting, but structurally dubious and not really suitable based on 
the original question


**
The discussion list for  http://webstandardsgroup.org/

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



[WSG] Table header

2005-08-13 Thread Jorge Laranjo

Hi there!
I want to make a table so that the first row will be a HEADER with 3 
cells.

Is this correct ?
table
thID/ththVar 1/ththVar 2/th
tr
tdID VALUE/td
tdVar 1 value/td
tdVar 2 value/td
/tr
/table


--
Atentamente,
Jorge Laranjo

site  http://thetaoofwebdesign.tk/
email [EMAIL PROTECTED]
msn  [EMAIL PROTECTED]
skype jorge.laranjo
aim  [EMAIL PROTECTED]
sapo  [EMAIL PROTECTED]

**
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] Table header

2005-08-13 Thread George S. Williams
On Sat, 2005-08-13 at 11:59, Jorge Laranjo wrote:
 Hi there!
 I want to make a table so that the first row will be a HEADER with 3 
 cells.
 Is this correct ?
 table
   thID/ththVar 1/ththVar 2/th
   tr
   tdID VALUE/td
   tdVar 1 value/td
   tdVar 2 value/td
   /tr
 /table


Jorge,

I think you still need to enclose the th's in a tr. The line should
be-

trthID/ththVar 1/ththVar 2/th/tr

George

-- 
 Sterling Web Services
   http://www.websterling.com
   The Web Done Right

**
The discussion list for  http://webstandardsgroup.org/

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