Windows Server 2003 server. net4.0+iis6.0 server, IE11 browser access incompatibility

Source: Internet
Author: User

Something strange happened at work:

When the program is deployed on win7+.net4.0+iis7.5 server, IE8 and IE11 requests, the response style is normal.

But colleagues in the United States reflect that Windows Server 2003 server. net4.0+iis6.0 server, IE11 browser access, the page is misaligned, and the Back button function is incorrect. Oddly, browsers such as Ie8,firefox,chrome are normal.

Only on the server win2003+.net4.0+iis6.0, the client IE11 encounter this strange situation.

In this case, view the generated source code discovery, and get a response that differs from the following:

The 1.<asp:radiobuttonlist/> control is generated by <TABLE>.....</TABLE> in other browsers, while IE generates <SPAN></SPAN> Specifying repeatlayout= "Table" in the code does not work, or it generates a span according to repeatlayout= "Flow".

Solution: Helpless designated as repeatlayout= "Flow", so that other browsers to parse the source code and IE11 consistent, and then through the CSS control.

2.<asp:imagebutton id= "pdf_btn" runat= "Server" imageurl= "~/images/adobe_pdf_icon.png" width= "35px" Height= "40px" onclick= "Pdf_btn_click"/> IE11 under the PDF image is very large. Originally the original picture is 102*102

Style= "width:35px was generated in other browsers; height:40px; " Aspect is right, IE11 does not generate this style, so it is output as-is.

Solution: Change the image to 33*33, width= "35px" height= "40px" removed, so that all browsers output the original image size.

Windows Server 2003 server. net4.0+iis6.0 server, IE11 browser access incompatibility

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.