Do you avoid using "inherit" value of style.display?
  v2.0 Posted at 23/12/2010 5:24 PM by SSW2000\JamesZhang
The property value “inherit” of style.display is not recognized by IE7 and IE7 compatibility mode. So if you use this value in Javascript, it will cause script error in IE7 and IE7 compatibility like: 
            "Message: Could not get the display property. Invalid argument."
So to make your Javascript and CSS style more compatible and avoid using "inherit" value of style.display:
divLoading.style.display = "inherit"; 
Bad code - inherit property
divLoading.style.display = "block"; 
Good code - block property

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address: