Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CSS and ASP:LinkButton woes
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
CSS and ASP:LinkButton woes
Divers
Thread ID:
01192606
Message ID:
01192606
Vues:
51
Hello World,
I am having some major heartburn with linkbuttons. The problem is that I want the disabled linkbuttons to display with black text *NOT* grey. I know linkbuttons are rendered as anchor tags so I wrote my CSS like so:
a[Disabled] {
  	color: #FF0000;
	font-weight: bold;
	text-decoration: none;
    FONT-SIZE: 22px;
}
The color attribute is the only attribute that doesn't work. It is simply disregarded by the browser. I set the size to 22 to be sure It was "Listening" ... The bold and size display correctly but not the color.

I also tried programatically setting the properties in code behind with the same results... Grey text I have tested this with inline code on a page with one disabled linkbutton control.

My humble thanks in advance,
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform