CSS重置为Chrome [英] CSS Reset for Chrome

查看:140
本文介绍了CSS重置为Chrome的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我意识到我应该做的是从CSS重置开始,但是我使用默认设置在Chrome中开发了我的网站,然后在完成后开始尝试使其跨浏览器兼容。如果我添加任何常见的CSS重置,我会留下空白,文本会变得更小,并且具有背景的联机跨度标记甚至会互相重叠,一切都会混乱起来。

Hi I realise what I should have done is start with a CSS reset but I developed my website in Chrome with its defaults and then started trying to make it cross browser compatible once I finished. If I add any of the common CSS resets I loose margins, text becomes smaller and in-line Span tags with backgrounds even overlap each other, everything is messed up.

所以我想我要找的是一个CSS重置,设置为Chrome,这将使所有其他浏览器看起来像我的页面在Chrome中一样。有没有像这样的事情或做到这一点的方法?

So I guess what I'm looking for is a CSS reset, set to Chrome, that will make all other browsers look like my page does in Chrome. Is there anything like this or a way of doing it?

推荐答案

找到解决我自己的问题一次。我刚刚从 http://necolas.github.com/normalize.css/它保留了有用的现代风格并修复了其他浏览器(即IE)的不足。在使用IE9文档标准时,在Chrome和IE上看起来都一样。

Found a solution to my own question for once. I just tried normalize.css from http://necolas.github.com/normalize.css/ and it keeps the useful modern styles and fixes insentiences with other browsers (ie. IE). Looks about the same on both Chrome and IE when using "IE9 document standards".

这篇关于CSS重置为Chrome的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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