How to get and use a CSS into a project

  • Thread starter Thread starter Anil Gupte
  • Start date Start date
A

Anil Gupte

I created a new ASP.Net Web application under C# in VS 2003. It did not
create a Stylesheet - and when I added one, it created a blank one. So
finally dragged one from a VB project. Questions:

1. Why did it not create one in the first place?

2. How do I now attach it to my pages, current as well as future?

Thanx,
 
I understand CSS can be a bear to rassle with. By default there is no CSS
created, Just create the style sheet. After you do this, you need to bind
the CSS to the page. Now this is what took me a while, cause it really was
TOO easy. Have the page you want to attach the CSS in designerer, and drag
from solution explorer the CSS file to the page. Then you can have
different classes set to have different styles.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top