Forum Moderators: open

Message Too Old, No Replies

Two questions about tables

One for accessibility and another for common sense.

         

Gusgsm

1:26 pm on May 12, 2004 (gmt 0)

10+ Year Member



Qestion 1:

I have groups of 4 pictures. Inside each group, all the pictures are related (like a family) and each one has a caption for itself.

Using the catch word... Semantically is that a 'table'?

Question 2:

Inside a table (now a real one) of examples, I have columns with data that start with a 0 value and end with a 255 one. To avoid excess of data (as they are just examples of sequences), I have added a (...) about the middle of each column, following the convention of "here follows the sequence for a while".

Should I use a repeated (...) value for each column or may I use a tablewide row with just one (...)?

I am asking this because I do not grab the logic and way of applying the colgroup tag (and related ones, btw).

BlobFisk

3:31 pm on May 13, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Gusgsm!

Question 1:

Personally I would say no! Dictionary.com defines a table as An orderly arrangement of data, especially one in which the data are arranged in columns and rows in an essentially rectangular form.

What you are looking at is content grouping. You could use a div with a title (both the attribute and the the heading).

Question 2:

Why use columns for this at all? I'm a little confused, would you not just put 0...255 in one <td>?

HTH

Gusgsm

8:08 am on May 14, 2004 (gmt 0)

10+ Year Member



BlobFisk,

Thanks for answering. As for your second question, an example table is:

<table class="tablet0" style="width: 450px;">
<caption class="tablet0">La tabla de un perfil de dispositivo de impresi&oacute;n</caption>
<thead>
<tr>
<th class="t1">C</th><th class="t1">M</th><th class="t1">Y</th><th class="t1">K</th>
<th class="t0">&nbsp;</th>
<th class="t1">L</th><th class="t1">a</th><th class="t1">b</th>
</tr>
</thead>
<tfoot>
<tr class="t3">
<td class="t1" colspan="8" >Esbozo del perfil de un dispositivo de impresi&oacute;n CMYK. Las coordenadas del dispositivo (CMYK) se relacionan con coordenadas absolutas (Lab). Los puntos suspensivos indican que se ha omitido (por abreviar) la sucesi&oacute;n de valores descendentes.</td>
</tr>
</tfoot>

<tbody>
<tr>
<td class="t2">0</td><td class="t2" >0</td><td class="t2" >0</td><td class="t2" >0</td>
<td class="t0c" rowspan="5"><img src="../imagen/flexa1.gif" width="35" height="63" alt="" /></td>
<td class="t2">100</td><td class="t2">0</td><td class="t2">0</td>
</tr>

<tr>
<td class="t3">0</td><td class="t3">0</td><td class="t3">12.5</td><td class="t3">0</td>
<td class="t3">99.1</td><td class="t3">-3</td><td class="t3">11</td>
</tr>
<tr><td class="t2c" colspan="4">&hellip;</td><td class="t2c" colspan="3">&hellip;</td>
</tr>
<tr>
<td class="t3">100</td><td class="t3">100</td><td class="t3">87.3</td><td class="t3">0</td>
<td class="t3">1.09</td><td class="t3">12</td><td class="t3">-30</td>
</tr>
<tr>
<td class="t2">100</td><td class="t2">100</td><td class="t2">100</td><td class="t2">0</td>
<td class="t2">0.98</td><td class="t2">0</td><td class="t2">0</td>
</tr>
</tbody>
</table>

the "<tr><td class="t2c" colspan="4">&hellip;</td><td class="t2c" colspan="3">&hellip;</td> " row is where I have my doubt...