Script(s)

technology as-is

IE8 Beta 2 and Asp.net rendering issues

October 20th, 2008
2
Digg me

IE8 Beta 2 and Asp.net Menu Control rendering issues

If your code works on IE 6,7 and Firefox even on chrome it may not work on IE8. The reason being Microsoft suddenly woke up and started to be strict with design and style standards.

For styles not working the way it should or DHTML not appearing on screen the problem is inline styling. IE 8 doesnt parse the code if its inline styling.

So the simple fix is move all the style=” ”  to stylesheet class

This is better way to clean your code too.

Comments

7 Comments

RSS
  • T Weidner says on: October 27, 2008 at 3:41 pm

     

    I changed all references in the Menu Control from style=”” to stylesheet classes. Dynamic elements are still blank! Only IE8 beta 2 exhibits this problem. All other browsers work fine. What am I missing?

  • Biju says on: October 31, 2008 at 1:24 am

     

    hi T Weidner,

    You have to set the z-index property to a higher value like 999

    /*dynamicMenuStyle*/
    .dms
    {
    z-index:99;
    color: Black;
    }

  • venkat says on: January 7, 2009 at 11:30 pm

     

    hai

    I have used ur code…

    but its not working….

  • venkat says on: January 7, 2009 at 11:32 pm

     

    And also i have follow up this site….

    and added these code..

    but no luck…..

    It has not working…

  • Chad says on: June 8, 2009 at 1:39 pm

     

    http://blogs.msdn.com/giorgio/archive/2009/02/01/asp-net-menu-and-ie8-rendering-white-issue.aspx

  • Ganesh Patil says on: March 15, 2010 at 12:56 am

     

    i have included the code

    z-index:999;

    but still its not working,

    is there any solution please forward me

    thank you

  • Hamed says on: March 15, 2011 at 9:44 am

     

    use this…

    .IE8Fix
    {
    z-index: 100;
    }

Your email address will not be published. Required fields are marked *

*

* Copy This Password *

* Type Or Paste Password Here *

Script(s)

technology as-is