How to use CSS file in ASP.NET?

You can apply CSS formatting to your web pages at different levels. The first level applies formatting to an entire set of pages in the same time, and this is the level we are mostly interested in in this tutorial. The next two lower levels is to apply CSS to one page by defining the CSS styles in the head of this page or to apply CSS to one particular element inside the page using the STYLE attribute. We are not going to present the two later lower levels here as they suffer from the original problem we are trying to solve: Text is kept with formatting in the same place! Let's illustrate the first level by an example.
 
It depends on what you are using for Development as to how to set it up. in Expression Web go to website add new item . css file then go into the wizard which will do mit in dialog boxes you will be able to see it as you create it,. In Visual Studio or Visual web express it is basically the same. or if you have your site done already. you can add a css Page and then connect it to Your master which will make all the pages follow that pattern . Go Here to W3C.com to learn CSS and how to set it up It also has everything Else for free. Tutorials. Go To ASP.Net For your Microsoft stuff lots of tutorials there. all with web express or visual studio. Microsoft Expression from your help file will take you to the learning area there.Good luck It took me months to figure out how to use 9% of My Microsoft tools because I didn't know where to go and No One would tell me.
 
Back
Top