View Single Post
  #3 (permalink)  
Old March 23rd, 2009, 11:43 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

The way IE8 renders is different from previous versions. The asp:Menu assumes incorrect defaults with regards to the z-index of the menu items. The ASP.NET team seems to be working on a fix for this problem.

In the mean time, take a look here to learn how you can work around the issue yourself: http://blogs.msdn.com/giorgio/archiv...ite-issue.aspx

In your case, you can fix the Planet Wrox site as follows:

1. In MasterPage.master add a new DynamicMenuStyle item like this:
Code:
 
<asp:Menu ID="Menu1" runat="server" CssClass="MainMenu" ....>
  <DynamicMenuStyle CssClass="DynamicMenuStyle" />
  ...
Next, in Monochrome.css for the Monochrome theme add the following selector:

.DynamicMenuStyle
{
z-index: 1000;
}

I'll fix the live version of PlanetWrox.com....

Hope this helps,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
The Following 2 Users Say Thank You to Imar For This Useful Post:
rwest (March 23rd, 2009)