.NET应用程序的Css格式化 [英] Css formating for .NET application

查看:74
本文介绍了.NET应用程序的Css格式化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于尝试了解CSS格式如何工作的.net应用程序。



应该在SITE.CSS文件中放置CSS格式还是应该创建文件myspec .css并在应用程序中包含它?有最好的做法吗?



我尝试过:



已搜索并找到CSS示例并将其包含在应用程序中。试图将冲突保持在最低限度。

For a .net application trying to learn how CSS formatting works.

Should CSS formatting be placed in the SITE.CSS file or should we create a file myspec.css and include that in the application? Is there a best practice?

What I have tried:

Have searched and found CSS examples and including them in application. Trying to keep conflicts to a minimum.

推荐答案

没有我所知道的最佳实践。一个css文件在ASP.Net中的工作方式和其他地方一样。你可以在.Net中创建主题,但我不确定很多人实际上是这样做的。



只需创建一个css文件,然后将其包含在您想要的页面标题中。
There is no best practice that I am aware of. A css file works the same in ASP.Net as it does anywhere else. You can create Themes in .Net but I'm not sure many people actually do that.

Just create a css file and then include it in the header of your pages that you want to.


这篇关于.NET应用程序的Css格式化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆