View Single Post
  #3 (permalink)  
Old March 23rd, 2009, 12:43 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 33,554, Level: 80
Points: 33,554, Level: 80 Points: 33,554, Level: 80 Points: 33,554, Level: 80
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 10,228
Thanks: 7
Thanked 203 Times in 201 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
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004

Did this post help you? Click the button to show your appreciation!
Reply With Quote
The Following User Says Thank You to Imar For This Useful Post:
rwest (March 23rd, 2009)