This was my issue , i had defined link button in asp.net like this :
_linkNewIncident = new System.Web.UI.WebControls.LinkButton();
_linkNewIncident.Text = "Creat New Incident";
_linkNewIncident.Click += new EventHandler(linkNewIncident_Click);
_linkNewIncident.CssClass = "HelpDeskLink";
and corresponding CSS as :
.HelpDeskLink { color:white ; font-weight :bolder ; font-size :x-small ; }
.HelpDeskLink a { color:white ; font-weight :bolder ; font-size :x-small ; }
when i ran the application , my links were still blue and was not reflecting any CSS behaviour which is supposed to be white as per my CSS :-(
After some search i got the solution .
Solution : Define "CSS Pseudo-classes"
I modified my CSS style class to the following and it worked ..
a.HelpDeskLink:link
{
color:white ;
font-weight :bolder ;
font-size :x-small ;
}
Subscribe to:
Post Comments (Atom)
Helping Protect Healthcare Pipelines from Boot to Memory on OCI
Encrypting data at rest and in transit is standard practice. What about while it's being processed? This blog authored by me and anoth...
-
Ever wanted to have a people picker kind of control in Infopath form and that too in browser mode. Did i heard yes :) , well there is a Acti...
-
Am sure lot's of people would be wondering how to hide menu items of a list eg document libraries "Send to " menu item . In o...
-
You might get this error when you try to delete from the _catalogsmasterpage directory ,. Microsoft has provided a solution which doesn'...
No comments:
Post a Comment