2013-02-15 37 views

回答

3

根> App_Start> BundleConfig.cs

改變這一行:

bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/site.css")); 

bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/MyStlyle.css")); 

,把你的自定義CSS在Root/Content/文件夾中。

0

請提供有關您的問題的更多信息。 更多的比你可以刪除 佈局頁面的默認CSS,並提供ü要使用的CSS頁面上的CSS(即當地的頁面上。)

,或者你可以按照這個方法:

bundles.Add(new StyleBundle("~/Content/css").Include("your css"); 
相關問題