E-mail List Archives

Re: correct markup of empty cells in a data table

for

From: Jukka K. Korpela
Date: Mar 22, 2005 3:15AM


On Tue, 22 Mar 2005, jens.meiert wrote:

> Jukka perfectly pointed out some issues, but in practice (if the cell really
> ain't "motivated by visualization") you'd use "", I fear.

That would be a mistake. Formally that markup would be invalid in classic
HTML and equivalent to _but not recommended_ in
XHTML. And in any case it would be both in theory and in practice distinct
from  .

> - 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).

You could, but IE does not support it, so it's not very useful mostly.

--
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/