Thursday, July 22, 2010

Asp.net menu control is not rendering properly in IE8, instead of displaying menu links in the browser only blank white space is displayed ?

The asp.net menu control is making a bad assumption on what the default value for z-index should be.

To solve this issue add the following code to the
asp.net menu to override the z-index property.

In the style sheet put some large value for the Z-index as shown below
.IE8Fix
{
z-index: 1000;
}

Now add SkipLinkText attribute to the
asp.net menu tag with a null value as shown below.


By making these two changes
asp.net menu will work properly in IE8. ..

No comments:

Post a Comment