Article ID: 262161 - View products that this article applies to.
This article was previously published under Q262161
Styles on a webpage are missing or look incorrect when the page loads in the versions of Microsoft Internet Explorer that are listed in the "Applies to" section.
Note This problem can occur whether the webpage uses an inline style sheet or points to a cascading style sheet.You may also receive the following error message:
The page you are looking for might have been moved or had its name changed.
This problem occurs because the following conditions are true in Internet Explorer:
A network monitor tool may indicate that a TCP reset occurs when Internet Explorer is receiving the page that is experiencing the problem. Internet Explorer then generates another POST request if the original request was a POST request. Or, Internet Explorer may send a GET request instead.
This style tag limitation may also affect the viewing of .xml files by using .xsl files. When the .xsl file has style tags embedded inside the document, you receive the following error message when you try to view the .xml file:
When you click OK, you receive the following error message:
Internet Explorer could not open the Internet Site: file://c:\aaa.xml
The code sample that is provided in the "Steps to reproduce the problem" section dynamically creates style sheets and generates the following error message:
The page cannot be displayed
If the style sheets are not applied dynamically but are, instead, applied through <Style> tags or through .css files, the "Invalid argument" error message is not generated. In this case, all style sheets after the thirty-first style sheet are ignored.
A Runtime Error has occurred.
Do you wish to Debug?
Error: Invalid argument.
Steps to reproduce the problemPaste the following code sample in an HTML page. Run the code sample. An error is generated after the thirty-first style tag is applied.
For more information, visit the following Microsoft Developer Network (MSDN) websites:
Article ID: 262161 - Last Review: August 19, 2011 - Revision: 2.1
Contact us for more help
Connect with Answer Desk for expert help.