E-mail List Archives
Re: Joining Column Headers with Columns
From: Michael Goddard
Date: Oct 18, 2001 2:51PM
- Next message: Jon Gunderson: "Re: Streaming Video"
- Previous message: Erik: "Streaming Video"
- Next message in Thread: Tim Harshbarger: "Re: Joining Column Headers with Columns"
- Previous message in Thread: Paul Bohman: "Re: Joining Column Headers with Columns"
- View all messages in this Thread
Paul.
I believe Tim may have been looking at it like this
<table id="header">
<tr>
<th id="header1">One</th>
<th id="header2">Two</th>
</tr>
</table>
<table id="content">
<tr>
<td headers="header1">Cell One</td>
<td headers="header2">Cell Two</td>
</tr>
</table>
Now is there anyway of associating the td content of the "content" table with the corresponding headers of the "header" table.
Correct me if I snafu this one!
Michael
----- Original Message -----
From: Paul Bohman
To: WebAIM forum
Sent: Thursday, October 18, 2001 4:33 PM
Subject: RE: Joining Column Headers with Columns
Yes, you can associate table headers with cells of different columns. You would have to do something like this:
<table>
<tr>
<th id="header1">One</th>
<th id="header2">Two</th>
</tr>
<tr>
<td headers="header2">Cell one</td>
<td headers="header1">Cell two</td>
</tr>
</table>
The above table would be a bit strange, because the headers are associated diagonally. The cell under the first header is actually associated with the second header. Is this a good thing. Almost always the answer is NO, it is not. Perhaps you have some special circumstance that would make this a good idea. I'd have to see an example to know for sure.
Your description of your project is vague enough that I'm not sure how else to answer at this point.
Paul Bohman
Technology Coordinator
WebAIM (Web Accessibility in Mind)
www.webaim.org
Utah State University
www.usu.edu
- Next message: Jon Gunderson: "Re: Streaming Video"
- Previous message: Erik: "Streaming Video"
- Next message in Thread: Tim Harshbarger: "Re: Joining Column Headers with Columns"
- Previous message in Thread: Paul Bohman: "Re: Joining Column Headers with Columns"
- View all messages in this Thread