E-mail List Archives

Re: correct markup of empty cells in a data table

for

From: Jens Meiert
Date: Mar 22, 2005 1:53AM


> [...] " "
> I am not sure if it is best marked up as a TH (as the other cells
> in the row are th) or as a TD

Jukka perfectly pointed out some issues, but in practice (if the cell really
ain't "motivated by visualization") you'd use "", I fear.
- By the way, you can use CSS 2's "empty-cells" property [1] to control the
way those cells (without a no-break space!) appear (in respect to borders).


HTH,
Jens.


[1] http://www.w3.org/TR/CSS2/tables.html#empty-cells


--
Jens Meiert
Information Architect

http://meiert.com/