Re: blank cells

by Charles A Upsdell <cupsdell(at)upsdell.com>

 Date:  Mon, 27 Sep 2004 19:02:00 -0400
 To:  hwg-techniques(at)hwg.org
 Cc:  david(at)homepagesplus.com
 In-Reply-To:  localhost
  todo: View Thread, Original

>I am just wondering about contents of blank cells.  When I use
>Dreamweaver it always enters the "nbsp" code in blank cells (or
>paragraphs, or what have you), but when I hand code, I always just
>have no text (ie an open code followed immediately by a close
>code, like <td></td> or <p></p>).
>
>Is the nbsp code recommended now?  If so, why is it better than no
>text?

As I remember, some legacy browsers -- maybe Netscape? -- omit the cell 
completely if the cell contains nothing at all, which results in cells to 
the right shifting to the left.

Also, there is some CSS that does different things depending on whether the 
cell is empty or not, e.g. see the property 'empty-cells' in the CSS2 spec.

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA