最佳实践:在ASP.NET CSS或主题? [英] Best Practices: CSS or Themes in ASP.NET?

查看:114
本文介绍了最佳实践:在ASP.NET CSS或主题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我应该使用ASP.NET主题,什么时候应该使用CSS?什么是使用一个比其他的优点还是缺点?

When should I use ASP.NET Themes, and when should I use CSS? What are the advantages or disadvantages of using one over the other?

推荐答案

我会建议使用CSS了主题。这样做的原因是在CSS中,他们与所有的浏览器你可以修改你的风格。你可以做同样的事情主题,但微软的设计师是臭名昭著的固定你的固定,使他们在所有浏览器所以它的反生产性工作的事。坚持CSS,你会花更少的时间摆弄。

I would recommend using CSS over Themes. The reason for this is in CSS you can modify your styles to they work with all browsers. You can do the same thing with themes but Microsoft's designer is notorious for fixing the things that you fixed to make them work on all browsers so its counter productive. Stick to CSS you will spend less time mucking about.

这篇关于最佳实践:在ASP.NET CSS或主题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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