我想我的网页看起来像这样:IE问题:事业部定位
+------+------+
|first |third |
| | |
+------+------+
|second|
| |
+------+
在FF和Chrome浏览器的最新版本剪断下面的作品,因为它应该。但在IE浏览器的输出是这样的:
+------+
|first |
| |
+------+------+
|second| third|
| | |
+------+------+
我剪断
<style>
#wrapper
{
width: 680px;
}
#first
{
background: Red;
float: left;
width: 500px;
}
#second
{
background: Green;
float: left;
width: 500px;
}
#third
{
background: Red;
}
</style>
<div id="wrapper">
<!-- 1st two Divs-->
<div id="first">Div ONE</div>
<div id="second">Div TWO</div>
<!-- 3rd Div should be on the top right side next to div one -->
<div id="third">Div Three</div>
</div>
我真的很感激,如果你能给我一个解决方案不会改变HTML标记。
谢谢你的时间!
瑞士安德鲁
你有没有试过float:right for the third div? – Catalin 2010-12-15 12:58:05
是的,但它不会产生正确的输出。 – Andrew 2010-12-15 12:59:54
您使用的是哪个版本的IE? – Lazarus 2010-12-15 13:00:16