Hi,
I want to know what is imported style sheets in ASP.Net. How to Link?
Thanks
Imported Style Sheets
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
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
Hemant KumarRank #1,202 · 1.5K reputationPosted Sep 22, 2011, 10:09 PM EDT
Import CSS into your ASP.NET
Either ways will do for Web Form and Master Page. Place this in the pages instead of user controls.
The most common way is:
You will be suprised that by using the top code is actually compatible with older browsers not really on new browsers like IE 7 or FireFox 2.0.
In order to make sure you can support both old and new browsers, add in a new code just below that tag.
@import "css/sgdotnet.css";
Then you will not face any css problems anymore. Enjoy.