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)
LLM Evaluation Fundamental techniques
In lot of my conversation with fellow technologist one question which is mostly in everyones mind is "How to make sure my application ...
-
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...
-
Note : In below scenario jenkins was deployed in Linux container Scenario: Jenkins build failed with error. java.io.IOException: error...
-
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...
No comments:
Post a Comment