hi,
i want add css(stylesheet) in my project.help me how to add css in my project.and give me some examples using css.
Thanks & Regards,
gokilavasan
CSS -Stylesheet
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Satyapriya NayakRank #47 · 31.5K reputationPosted Mar 27, 2012, 4:49 AM EDT
Please refer the below links
http://www.w3schools.com/aspnet/prop_webcontrol_style_cssclass.asp
http://www.beansoftware.com/ASP.NET-Tutorials/CSS-ASP.NET.aspx
http://dotnetguts.blogspot.in/2007/09/applying-css-to-aspnet-application.html
Thanks
Krishna GaradRank #191 · 12.8K reputationPosted Mar 27, 2012, 4:59 AM EDT
Next after adding the style sheet you can create some element ids as well create some classes like bellow.
.outer
{width:943px;text-align:left; margin:0 auto; }
#outer2
{width:923px;text-align:left; background-color:#595758; margin:0 auto; border-bottom:5px solid #ffcc00;}
in above where is the .outer its one class and where is #outer2 is the element id. You can refer this classes in element id in your .aspx page for that you need to refer first the created .css file in head tag like
and when you are creating now some element consider i'm creating div and for this div i need the style from css file then refere it like bellow
another div to refer the class