IE7行高问题? [英] IE7 Line Height issue?
本文介绍了IE7行高问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个链接包含一个跨度,应该读取类似链接+,这在所有浏览器中正确显示除了ie7:
I have a link containing a span which should read something like "link +", this displays correctly in all browsers except ie7:
<a style="display: inline; width:200px;" href="">
Open a ticket
<span style="float: right">+</span>
</a>
访问 http://jsfiddle.net/nGJ5b/ in ie7看看我的意思。有任何人知道这个修复?
Visit http://jsfiddle.net/nGJ5b/ in ie7 to see what I mean. Has anybody knowledge of a fix for this?
推荐答案
将span放置在任何其他元素之前似乎可以做到这一点。 http://jsfiddle.net/nGJ5b/1/
Placing the span before any other element seemed to do the trick. http://jsfiddle.net/nGJ5b/1/
这篇关于IE7行高问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文