W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2004

Re: empty div's

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 01 Aug 2004 18:21:33 +0200
To: "ben van 't ende [netcreators]" <ben@netcreators.nl>
Cc: html-tidy@w3.org
Message-ID: <410e1844.686223186@smtp.bjoern.hoehrmann.de>

* ben van 't ende [netcreators] wrote:
>This seems like a really trivial problem, but it stops me from using tidy. 
>Empty div's are just stripped and I can't seem to figure out what the tidy 
>config is to prevent that from happening.

There is no such option. Having empty div elements seems quiet untidy to
me, why would Tidy retain them? Just make them non-empty if you really
need to, like

  <div><!----></div>
Received on Sunday, 1 August 2004 12:22:07 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:54 UTC