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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Satyapriya NayakPosted Dec 20, 2011, 2:29 AM
Please refer the below link
http://www.beansoftware.com/ASP.NET-Tutorials/CSS-ASP.NET.aspx
Thanks
Anuja PawarPosted Dec 20, 2011, 2:06 AM
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
Mamta MPosted Dec 20, 2011, 1:09 AM
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