IE在段落之间显示更多空间 [英] IE shows more space between paragraph

查看:99
本文介绍了IE在段落之间显示更多空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我已经编写了一些可以正常使用的代码,因为我打算在Mozilla中工作,但不能在IE中工作。在IE中,它显示了两条线之间的更多空间特许经营支持。 商店环境。


所以这段代码有什么问题。这里是代码

Hi

I have written some code which works fine as I intend to work in Mozilla but not in IE. In IE it shows more space between two lines "Franchise Support" "Store Environment".

so what is wrong in this code. here is code

展开 | 选择 | Wrap | 行号

推荐答案

嘿..

你可以在#mainNav类中使用行高

hey..

you could use line height in #mainNav class

展开 | 选择 | Wrap | 行号


@prabirchoudhury


谢谢!它工作正常,但我想问为什么我需要为IE浏览器提供行高,这也适用于其他浏览器。为什么它没有行高,因为它在Mozilla和Chrome中运行良好。
@prabirchoudhury
Thanks! It works fine but I wanted to ask that why do I need to give line-height for IE which works for other browser as well. why don''t it works without line-height as it works fine in Mozilla and Chrome.


@mukeshrasm


我懒得看看为什么会修复它但总是记得IE是这个星球上最糟糕的浏览器。在现代标准和实践方面落后于所有其他人11年,不应该信任他们做任何正确的事情。
@mukeshrasm
I''m too lazy to look at why this fixes it but always remember that IE is the worst browser on the planet. 11 years behind all others in modern standards and practices, it should never be trusted to do anything correctly.


这篇关于IE在段落之间显示更多空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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