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 " />