On 1/29/06, Rene Saarsoo <[EMAIL PROTECTED]> wrote:
> There is one usability problem still: the contents of <th> elements
> are centered by default in most browsers, making the table look like
> this:
>
>              1 Fruits          Add Edit Delete
>             1.1 Apple          Add Edit Delete
>          1.1.1 Red apple       Add Edit Delete
>         1.1.2 Green apple      Add Edit Delete
>     1.1.2.1 Extra green apple  Add Edit Delete
>     1.1.2.2 Medium green apple Add Edit Delete
>             1.2 Orange         Add Edit Delete
>             1.3 Lemon          Add Edit Delete
>
> Not very comprehensible... The solution would be to use <td> instead:
>
>     1 Fruits                   Add Edit Delete
>     1.1 Apple                  Add Edit Delete
>     1.1.1 Red apple            Add Edit Delete
>     1.1.2 Green apple          Add Edit Delete
>     1.1.2.1 Extra green apple  Add Edit Delete
>     1.1.2.2 Medium green apple Add Edit Delete
>     1.2 Orange                 Add Edit Delete
>     1.3 Lemon                  Add Edit Delete
>
> Maybe it makes the table a bit harder to understand for screenreader
> users, but it surely adds clarity to all the other users.

That's what we have stylesheets for. It's trivial to change the text
alignment of TH elements :-) TH strikes me as being semantically more
sound, particularly if you give them ID's and set the headers
attribute in your corresponding TD cells accordingly.

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

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

Reply via email to