【发布时间】:2011-09-22 06:21:56
【问题描述】:
我有两个无序列表,我试图将它们并排放置。 这适用于 Firefox、Safari 和 Chrome & IE8。但不是 IE 7 或兼容模式。
这是标记:
<span>
<ul style="list-style-type: none; display: inline-block;">
<li>1</li>
<li>2</li>
</ul>
<ul style="list-style-type: none; display: inline-block;">
<li>3</li>
<li>4</li>
</ul>
<span>
基本上预期是:
1 3
2 4
【问题讨论】:
-
float:left;他们可能吗? (第二个有左边距)
标签: html css internet-explorer