Dear Friends,
I want to use a cascading style sheet file in my Web Application Web Form's.
how it can be made and use.can i get an example on it.
Thanks & Regards,
Aamir
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Mamta MRank #268 · 9.4K reputationPosted Dec 19, 2011, 8:09 PM EST
This has been done quite a number of times so it is indeed possible. Take a look at the following MSDN links to get help for the same:
http://msdn.microsoft.com/en-us/library/h4kete56.aspx
http://msdn.microsoft.com/en-us/library/tbze79kd%28v=vs.80%29.aspx
Anuja PawarRank #1,404 · 1.2K reputationPosted Dec 19, 2011, 9:06 PM EST
What are the 3 levels at which formatting can be applied with in a web application?
1. Styles can be defined in a style sheet file. Styles in a style sheet can be applied to all webforms referencing the style sheet.
2. You can also define styles in the page's head element. These styles can be applied to all elements on the current page.
3. You can also define styles inline, in the HTML tag itself. Inline styles are applicable only to the HTML element in which these styles are defined.
Inline formatting takes precedence over local formatting, which, in turn, takes precedence over global formatting. These precedence rules are the reason style sheets are referred to as cascading.
Refer this a very good example step by step to create styles
http://www.csharpkey.com/aspnet/Lesson04.htm
Satyapriya NayakRank #47 · 31.5K reputationPosted Dec 19, 2011, 9:29 PM EST
Please refer the below link
http://www.beansoftware.com/ASP.NET-Tutorials/CSS-ASP.NET.aspx
Thanks