我在Internet Explorer中的股利对齐问题9(不ie9.It可在最新的浏览器)事业部对齐问题在Internet Explorer 9
我有两个divs.First一个应该是固定的宽度和二应根据屏幕分辨率的变化重新调整大小。
我写了下面的代码
<html>
<body>
<div>
<div style = "float:left;width:240px;background-color:blue; height:100px">
</div>
<div style = "float:left;width:100%;background-color:red;height:100px">
</div>
</div>
</body>
</html>
然而,摆出来像来到了屏幕截图1
我有并排两个潜水侧安排像屏幕截图2
在这个问题上的任何帮助是赞赏。
谢谢。
屏幕快照1
屏幕快照2