Firefox标题大小h1 h2 h3 [英] Firefox screwing up headings sizes h1 h2 h3

查看:88
本文介绍了Firefox标题大小h1 h2 h3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个firefox的问题,标题看看,第一个截图是firefox
网站在 http://toto-bongo.heroku.com/blog



Firefox Screenshot



Chrome截图





我可以如何解决这个问题?



[1]

解决方案

如果你简单的定义CSS的元素的大小,你的问题将是固定的。如果您担心所有元素的大小,最好的办法是使用重置样式表,如果您担心跨浏览器兼容性,这将非常有用。使用重置样式表强制您为每个使用的标记定义特定属性,从而消除浏览器之间的任何歧义。


I have a problem with firefox, for headings take a look, the first screenshot is firefox Website is at http://toto-bongo.heroku.com/blog

Firefox Screenshot

Chrome Screenshot

What can I do to fix this ?

![enter image description here][1]

解决方案

Your problem will be fixed if you simply define the sizes of the elements in your CSS. If you're worried about the size of all of your elements, your best bet is to use a reset stylesheet, which will really help you if you're worried about cross-browser compatibility. Using a reset stylesheet forces you to define specific atributes to each tag that you use, thus eliminating any ambiguity between browsers.

这篇关于Firefox标题大小h1 h2 h3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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