Steve Sobol wrote:
> On 2007-09-11, Blinky the Shark <no.spam@box.invalid> wrote:
>> Can't for the life of me figure out how to get a hr into a js write.
>>
>> http://blinkynet.net/humor/index.html
>>
>> I'd like a *scripted* <hr> just before the first line created by the
>
> document.write() won't work?
As I said, it works, but it won't validate.
>> But validation fails with a you-can't-use-a-<hr>-there error.
>
> So this would be an HTML issue, not a js issue. To which standard are you
Call it what you'd like. As I stated, the problem is that I can't - via
js - figure out how to get something to validate that validates when I
do the same thing without the script. Putting an <hr> in the body
(correct - not within a <p> or <div> validates, but it won't if
js
places it there.
> writing? HTML 4 Transitional? Strict? XHTML Transitional? Strict?
That's in my doctype. That kind of thing is why I gave the link.
I've been bad: XHTML because when I did a total rewrite of the site a
couple hears ago I thought that was The Coming Thing and wanted to not
go backward; but served as HTML because then I learned that browser
support was supposedly iffy for XHTML.
--
Blinky RLU 297263
Killing all posts from Google Groups
The Usenet Improvement Project:
http://improve-usenet.org <----------- New Site Aug 28