Re: Quick question on divs in xhtml

On Tue, 7 Sep 2004 13:52:54 +0100, Jim Higson <jh@333.org> wrote:

>
> When I use -asxhtml, tidy changes this:
>
> <div class="foo" />
>
> into this:
>
> <div class="foo"></div>
>
> this seems odd to me. Is it a bug or a feature?

DIV is not an empty element in XHTML, so it is a feature.


-- 
The Web is a procrastination apparatus:    |  Rijk van Geijtenbeek
It can absorb as much time as              |   Documentation & QA
is required to ensure that you             |   Opera Software ASA
won't get any real work done.  - J.Nielsen |  mailto:rijk@opera.com M

Received on Tuesday, 7 September 2004 14:12:04 UTC