The Menu Control of ASPnet cannot be normally displayed in IE8.

Source: Internet
Author: User
Question about the menu control of Asp.net in IE8

The Menu Control cannot Display Dynamic menus in IE8.

  The Menu Control of Asp.net can automatically generate a drop-down menu and provide many styles. When developing a website,
It provides great convenience.However, a problem occurs in IE8, that is, only static menus can be displayed normally, while dynamic menus only show one white background,

Nothing else can be seen. In addition, chrome, Mozilla, Firefox, and so on are displayed normally, only in IE8.

Solution 1:

After debugging IE8, choose IE8> page> Compatibility View Settings> check [show all websites in Compatibility View]] To solve the problem.

It is estimated that IE8 is incompatible with the menu control.

Solution 2:

  <  Style Type  =  "  Text/CSS  "  >  
. Ie8fix {z - Index: 100 ;}
</ Style >
  < ASP: menu ID = " Menu1 " Runat = " Server " >
< Dynamicmenustyle cssclass = " Ie8fix "   />
</ ASP: Menu >  

 

Solution 3:

Force ie resolution to IE7 meta compatibility

< Meta HTTP - Equiv = " X-UA-compatible " Content = " Ie = emulateie7 " />

 

 

 

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.