Apologies, I made a silly mistake, the rows shouldn't have "name" in
their headers attribute. If you want to associate the cells in each row
with the film name you'll have to give the cell containing the film name
a unique id (I think).
- Andrew Ingram
Andrew Ingram wrote:
I think this is the kind of situation that can be marked up either as
a definition list or a table without too many people objecting to the
semantics in either case. It comes down to how you want the data to
be perceived I guess. A definition list will encourage users to look
at each movie as a block of information, independent of information
about other movies. This approach is useful if users are expecting to
be focused on single movies at a time.
The tabular approach encourages comparisons between movies and is
suited to situations where users might want to see all movies by a
certain director, or all movies of a certain duration etc.
I would suggest the following improvement on Barney's table markup
though:
<table>
<thead>
<tr>
<th scope="col" id="name">Name</th>
<th scope="col" id="date">Entry date</th>
<th scope="col" id="tagline">Tagline</th>
<th scope="col" id="genre">Genre</th>
<th scope="col" id="director">Director</th>
<th scope="col" id="starring">Starring</th>
<th scope="col" id="language">Language</th>
<th scope="col" id="runtime">Runtime</th>
<th scope="col" id="summary">Summary</th>
</tr>
</thead>
<tbody>
<tr>
<td headers="name" scope="row">Cool Hand Luke</td>
<td headers="date name">2007/2/6</td>
<td headers="tagline name">"What we've got here is failure to
communicate"</td>
<td headers="genre name">Drama</td>
<td headers="director name">Stuart Rosenberg</td>
<td headers="starring name">Paul Newman, George Kennedy, J.D.
Cannon, Lou Antonio, Robert Drivas, Strother Martin, Jo Van Fleet,
Clifton James, Morgan Woodward, Luke Askew, Marc Cavell, Richard
Davalos, Robert Donner, Warren Finnerty, , Dennis Hopper</td>
<td headers="language name">English</td>
<td headers="runtime name">126min</td>
<td headers="summary name">Luke is sent to a prison camp, where he
gets a reputation as a hard man. The head of the gang hates him, and
tries to break him by beating him up. It doesn't work, and he gains
respect. His mother dies, and he escapes, but is caught, escapes
again, and is caught again. Will the camp bosses ever break him ?</td>
</tr>
</tbody>
</table>
- Andrew Ingram
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************