标题大小h1 h2 h3在Firefox中 [英] Headings sizes h1 h2 h3 in Firefox

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

问题描述

我在Firefox中遇到问题。



网站位于



Chrome浏览器截图



我能做些什么来解决这个问题?

解决方案

如果您只是在CSS中定义元素的大小,那么问​​题就会解决。如果您担心所有元素的大小,最好的方法是使用重置样式表,如果您担心跨浏览器的兼容性,这将对您有所帮助。使用重置样式表会强制您为使用的每个标记定义特定的属性,从而消除浏览器之间的任何歧义。


I have a problem with headings in Firefox.

Website is at http://toto-bongo.heroku.com/blog

Firefox Screenshot

Chrome Screenshot

What can I do to fix this?

解决方案

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.

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

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