Why are linkbuttons not grayed out when disabled in FireFox?

Middletone picture Middletone · Apr 27, 2009 · Viewed 17.4k times · Source

Why when I set enabled=false on a button does it not render correctly in Firefox? Instead of graying out the link it is still blue.

[UPDATE]

ASP.net already removes such tags on the link so the only thing that is needed is to grey out he link. In other words a CSS style change not a functionality change.

The following effectively resolved the disabled buttons not showing up as grayed out in firefox and google chrome. I put this into my style sheet and now all my link buttons render correctly.

a[disabled]{
color:Grey !important; text-decoration:none !important; }

Answer

Nikeeta Vanjara picture Nikeeta Vanjara · Sep 3, 2009
a[disabled]
{
   color:Grey; text-decoration:none;
}

worked for me, Thank you...