<跨度>跨度>在 IE8 上被忽略,而在 mozilla 上则不然
我有这样的事情:
<ul>
<li>
<div>
<div style="display:inline">
<a><span class="ui-icon ui-icon-circle-plus floatleft "></span></a>
</div>
<input type="checkbox"> <label>good</label>
</div>
</li>
</ul>
子弹在 IE8 上超出了跨度,我想让它停留在跨度之前,就像在 Mozilla 中一样,有人知道怎么做吗?
I have something like this:
<ul>
<li>
<div>
<div style="display:inline">
<a><span class="ui-icon ui-icon-circle-plus floatleft "></span></a>
</div>
<input type="checkbox"> <label>good</label>
</div>
</li>
</ul>
the bullet goes above the span on IE8, I would like to make it stay before the span just like in Mozilla, anybody knows how ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在我看来,好像你有一个
既然如此,我希望外部 div 被格式化为一个块,而不是与项目符号在同一行。我很惊讶其他浏览器确实将它放在同一行。
It looks to me as if you have a <div> without an inline style inside the <li> and outside the <div style='display:inline'>
That being so, I would expect the outer div to be formatted as a block rather than being on the same line as the bullet. I'm rather surprised that those other browsers do put it on the same line.