E-mail List Archives
Thread: Re: Tables for layout
Number of posts in this thread: 1 (In chronological order)
From: Kitzzy Aviles
Date: Tue, Mar 19 2002 7:48AM
Subject: Re: Tables for layout
No previous message | No next message
Kitzzy Aviles
Techranger Development & Training Specialist
Course Development & Web Services
= EMAIL ADDRESS REMOVED = >>> = EMAIL ADDRESS REMOVED = 03/19/02 09:30AM >>>
If you are using a table for layout, are you supposed to have a table header
at all? The way this reads it sounds as if you wouldn't even use a table
header.
<<<<<
Thats correct. You only use TH and the scope or headers and ID attributes if its a data table.
>>>
Also, when using tables to create a layout, do not use structural markup to
create visual formatting. For example, the TH (table header) element, is
usually displayed visually as centered, and bold. If a cell is not actually
a header for a row or column of data, use style sheets or formatting
attributes of the element.
Say you just had one table that had 3 cells. One for email address, one for
name, and one for a submit button. Isn't it appropriate to not have a table
header on that kind of table?
<<<<<<<<
If you just have them next to each other for layout, then no, you would not use a TH on it. But if its table with more than one email and name, then yes you need to use a TH.
For example:
my email here | my name here | submit
that does not require TH, all you are doing is putting them side to side
email | name | submit
email1 | name1 | submit1
email2 | name2 | submit2
That does require a TH in email, name and submit AND for you to as