Google Groups Home
Help | Sign in
What is IE6 dioing here?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
sheldonlg  
View profile
 More options May 17, 12:29 am
Newsgroups: alt.html, comp.lang.javascript
From: sheldonlg <sheldonlg>
Date: Sat, 17 May 2008 00:29:54 -0400
Local: Sat, May 17 2008 12:29 am
Subject: What is IE6 dioing here?
I have an application.  To generate the IE6 html code I wrote:

javascript:document.write(document.body.innerHTML)

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">
<head>
<meta http-equiv="Content-Type" content="text/html;
                                charset=iso-8859-1" />
<title>Application</title>
<link rel=StyleSheet href="css/style.css"
                title="Contemporary" type="text/css">
</head>

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?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sheldonlg  
View profile
 More options May 17, 7:04 am
Newsgroups: alt.html, comp.lang.javascript
From: sheldonlg <sheldonlg>
Date: Sat, 17 May 2008 07:04:33 -0400
Local: Sat, May 17 2008 7:04 am
Subject: Re: What is IE6 dioing here?
Actually, it is turning the <td align="right"> into <td align=middle>


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google