ASP: incorrect solution for menu display in IE8

Source: Internet
Author: User

when you use the menu control year for the web page developed by vs2008, it is found that the page is incorrectly displayed under IE 8 and will be blank. found that the menu does not comply with web standards

There are three solutions:
For details, see
Http://blogs.msdn.com/giorgio/archive/2009/02/01/asp-net-menu-and-ie8-rendering-white-issue.aspx

1: rewrite the Z-index attribute in the CSS control style.
Set the Z-index of the dynamic pop-up menu to a large value. For example: Z-index: 100;
Http://weblogs.asp.net/mhildreth/archive/2009/01/26/testing.aspx
2: Use the CSS friendly control
CSS friendly control adapters converts ASP. NET controls into web-compliant label controls,
Go to http://www.asp.net/cssadapters/to download the source code and example.
English version: http://hi.baidu.com/hunterzou/blog/item/b925f73d01e6e7ea3c6d9732.html

3: Force ie resolution to be compatible with IE7 meta.
head runat =" server " >
meta HTTP-equiv =" X-UA-compatible " content =" Ie = emulateie7 " />
head >

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.