What is IE6 dioing here?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I have an application.  To generate the IE6 html code I wrote:


in the address bar.  I did this because "view page source" only shows
the template and not the stuff that is written by AJAX.  I then composed
an html app with the stuff before the template from "view page source",
but replaced the body content with what I got above.

The result was that where I had align="center" on a <td>, for example,
it changed it to  align=middle.  It did this stripping of parentheses on
almost all the attributes and on the onclicks.  Where I had value="blah"
it left the parentheses alone.

Naturally, this app didn't validate.

Here is the stuff before the body:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd ">
<html xmlns="http://www.w3.org/1999/xhtml ">
<meta http-equiv="Content-Type" content="text/html;
                charset=iso-8859-1" />
<link rel=StyleSheet href="css/style.css"
        title="Contemporary" type="text/css">

Why is the document.write doing that?
Is this a true representation of what IE sees, or is it an artifact of
the document.write call?
Where is it getting the middle in align=middle from?

Re: What is IE6 dioing here?

Actually, it is turning the <td align="right"> into <td align=middle>

sheldonlg wrote:
Quoted text here. Click to load it

Site Timeline