Interestingly enough, the html rendered is the same. You still get an anchor tag with the disabled attribute set to "disabled". It is the browser that is reacting differently to this tag. IE no longer styles by default an anchor tag with this particular attribute the way you expect (i.e. "grayed out"). You are forced to provide the css to render in this scenario. The following css should style your LinkButton like the good ole days.
a[disabled="disabled"] { color: gray; text-decoration: none; } a[disabled="disabled"]:hover { color: gray; text-decoration: none; }Now, maybe you can finally turn off compatibility view!
No comments:
Post a Comment