W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2002

Re: Empty <div> tags

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 17 Dec 2002 06:35:02 +0100
To: Charles Reitzel <creitzel@rcn.com>
Cc: html-tidy@w3.org
Message-ID: <3e03aaca.192530734@smtp.bjoern.hoehrmann.de>

* Charles Reitzel wrote:
>Ok, I see what you mean.  Is this behavior specific to DIV or would it 
>apply to other block level tags?  What about PRE, BLOCKQUOTE, CENTER?
>
>Empty TD elements have meaning as placeholders.  However empty TDs should 
>probably be handled the same way as empty Ps: insert a &nbsp;  This is my 
>standard hand-coding practice to make tables w/ empty cells look OK.

Empty <p> elements get dropped, empty <td>s should stay empty <td>s.
Inserting &nbsp;s is considered rather harmful.
Received on Tuesday, 17 December 2002 00:34:51 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:48 UTC