Dylan Parry wrote:
> Blinky the Shark wrote:
>
>> document.write("<hr />" + "foo")
>>
>> But validation fails with a you-can't-use-a-<hr>-there error.
>
> Try:
>
> document.write("<hr \/>" + "foo");
>
> When using document.write() combined with XHTML, you need to escape the
> closing slashes in end tags otherwise it won't validate. It should still
> /work/ okay without it though.
Nope. As before: works but won't validate.
Here, with your idea:
http://blinkynet.net/humor/index2.html
Try it.
--
Blinky RLU 297263
Killing all posts from Google Groups
The Usenet Improvement Project:
http://improve-usenet.org <----------- New Site Aug 28