Introduction
I guess you are expert in styling controls using CSS. But the thing I am going
to talk in this post is bit different. Let's look at following asks:
- How to apply style to all Label controls on website?
- How to apply TextBox background color or font color (ForeColor) to all controls on websites?
- How to apply style to all Hyperlink controls on website?
To answer these all question let's read this.
Follow the steps:-
Step 1 : Create a style sheet page by name 'SiteStyle.css' and save this
under project root.
Step 2 : Type following style information in SiteStyle.css page:
span:hover
{
font-size:12px;
font-style:oblique;
}
input
{
background-color:#999999;
color:Blue;
}
a:hover
{
color:Green;
}

mohan kumarPosted Apr 24, 2012, 6:18 AM
Hay Abhimanyu Kumar Vatsa..Your posts are intresting and looks quite easy to understand...and kindly check out the sample application attachment link..Link is missing for me..