Dear Frnds,
I want to Use CSS File in web application.can u help in how to use it in Web Form
any article on it will also help.
Thanks & regards,
Aamir
Cascading StyleSheet
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

SenthilkumarRank #387 · 6.5K reputationPosted Dec 8, 2011, 1:19 AM EST
Add the new item and select the style sheet, it will allow to create the file with the .css name.
You can write the any number of class in that file and you can write in the two ways.
One when apply the style sheet to the page it will apply the style to the control. For that we need to use the #controlname.
#divName
{
color:black;
font-weight:bold;
font-size:12px;
}
Then create the aspnet page after that you have to include the css page. Drad and drop the css file from the browser will add the tag directly. Or include using the link tag.
Then create the control and apply the css class name from the file.
If it is html control then you have to use class attribute and cssclass for aspnet server controls.
Satyapriya NayakRank #47 · 31.5K reputationPosted Dec 8, 2011, 1:24 AM EST
Please refer the below links
http://www.beansoftware.com/ASP.NET-Tutorials/CSS-ASP.NET.aspx
http://dotnetguts.blogspot.com/2007/09/applying-css-to-aspnet-application.html
http://www.4guysfromrolla.com/articles/112906-1.aspx
Thanks