MenuControlAdapter +IE9

Sep 28, 2011 at 4:37 PM


My web application uses the MenuControlAdapter to show ASP.NET menus. I just installed IE9 and now my web application is not showing menu items correctly. It turns out that the style 'UL.AspNet-Menu LI A' is the issue.

The style looks like this:

UL.AspNet-Menu LI A


height: 1% important;



After checking out the page in the Web Developer Toolbar, it shows that my issue would be resolved if I could set the height style to auto. I tried to do this in my CSS stylesheet but it keeps applying the default style with height=1%. How can I override this style in my application?