<!--大DIV-->
<div style="width:1000px; height:300px; margin-top:10px;">
<!--div1-->
<div style="width:700px; height:300px; background-color:Aqua; float:left;">1</div>
<!--div2-->
<div style="width:20px; height:300px; background-color:Red; float:left;">2</div>
<!--div3-->
<div style="width:280px; height:300px; background-color:Aqua; float:left;">3</div>
</div>现在在IE8中 显示是正常的,但是在IE6 第3个DIV会换行跑下面去了,在IE8 3个DIV都是横排着的,到底是怎么回事?
<div style="width:1000px; height:300px; margin-top:10px;">
<!--div1-->
<div style="width:700px; height:300px; background-color:Aqua; float:left;">1</div>
<!--div2-->
<div style="width:20px; height:300px; background-color:Red; float:left;">2</div>
<!--div3-->
<div style="width:280px; height:300px; background-color:Aqua; float:left;">3</div>
</div>现在在IE8中 显示是正常的,但是在IE6 第3个DIV会换行跑下面去了,在IE8 3个DIV都是横排着的,到底是怎么回事?
解决方案 »
- 如何让页面全屏显示但是不覆盖Windows任务栏
- WIN7 Web 服务器上似乎未安装 FrontPage 服务器扩展
- 怎样获取客户端机器,硬盘物理序列号啊,用activex控件的方法试过了不好用
- 怎样把xml数据添加到数据库?????????
- 这个功能可以实现么?多少钱?
- 求个Excel导入sql的解决方案
- 为什么在按钮的submit_Click事件里定义的变量在经过if赋值后就成了局部变量?
- Winform程序如何获取Sharepoint2007 ListItem中的People类型数据的信息?
- 快下班了,问两个问题...折磨了我一天了....
- 截取字符串时如果,字符串长度不够10就会出错,有办法解决吗?
- 未将对象引用设置到对象的实例
- Jquery Ztree 插件 这么判断值是否改变?
就不会另外一行了。
60% 2% 38%里面3个DIV都改成这样?
<div style="width:1000px; height:300px; margin-top:10px; background-color:Black;">
<!--公司动态-->
<div style="width:720px; height:300px; background-color:Aqua; float:left;">
<div style="width:700px; height:300px; background-color:Aqua; float:left;">1</div>
<div style="width:20px; height:300px; background-color:Red; float:left;">2</div>
</div>
<div style="width:280px; height:300px; background-color:Olive; float:left;">3</div>
</div>