可移植CSS的规则是什么? [英] What are the rules for portable CSS?

查看:127
本文介绍了可移植CSS的规则是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是CSS的新手,要遵守的规则是什么,以确保CSS在其他浏览器中看起来一样? (我使用Firefox)。



对于IE7有什么具体规则吗?

解决方案

我认为开始的地方是:
http://html5boilerplate.com/ (阅读注释的CSS)它规范了不同浏览器之间的CSS行为。 (我不会建议使用重置)。



请参阅 http://na.isobar.com/标准/ 来了解最佳前端最佳实践。



有一些规则doe使你的东西在IE 6& 7(这是唯一会导致你严重麻烦的):




I'm new to CSS, what are the rules to obey to make sure that CSS looks the same in other browsers? (I use Firefox).

P.S. Are there any specific rules for IE7?

解决方案

I think the bast place to start is here: http://html5boilerplate.com/ (Read the Commented CSS.) Its normalizes the CSS behavior across the different browsers. (i would not recommend using a Reset).

Consult http://na.isobar.com/standards/ to get to know the best frontend best practices.

There are some rules doe to make your stuff work in IE 6 & 7 (does are the only ones that gonna cause you serious trouble):

这篇关于可移植CSS的规则是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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