我在div里面放了N个table<div>
<table style="width:335px;height:100px;margin:5px;float:left;"><tr><td>a</td></tr></table>
<table style="width:335px;height:100px;margin:5px;float:left;"><tr><td>a</td></tr></table>
<table style="width:335px;height:100px;margin:5px;float:left;"><tr><td>a</td></tr></table>
<table style="width:335px;height:100px;margin:5px;float:left;"><tr><td>a</td></tr></table>
<table style="width:335px;height:100px;margin:5px;float:left;"><tr><td>a</td></tr></table>
<table style="width:335px;height:100px;margin:5px;float:left;"><tr><td>a</td></tr></table>
<table style="width:335px;height:100px;margin:5px;float:left;"><tr><td>a</td></tr></table>
<table style="width:335px;height:100px;margin:5px;float:left;"><tr><td>a</td></tr></table>
<table style="width:335px;height:100px;margin:5px;float:left;"><tr><td>a</td></tr></table>
<table style="width:335px;height:100px;margin:5px;float:left;"><tr><td>a</td></tr></table>
</div>这里有10个table
我要的结果是这样- - -
- - -
- - -
-在IE8和9显示正常,在IE6、和7下面显示成这样- - -
- - -
-
- - -请问有什么办法解决?找遍网上的方法来试,还是没有解决。
<table style="width:335px;height:100px;margin:5px;float:left;"><tr><td>a</td></tr></table>
<table style="width:335px;height:100px;margin:5px;float:left;"><tr><td>a</td></tr></table>
<table style="width:335px;height:100px;margin:5px;float:left;"><tr><td>a</td></tr></table>
<table style="width:335px;height:100px;margin:5px;float:left;"><tr><td>a</td></tr></table>
<table style="width:335px;height:100px;margin:5px;float:left;"><tr><td>a</td></tr></table>
<table style="width:335px;height:100px;margin:5px;float:left;"><tr><td>a</td></tr></table>
<table style="width:335px;height:100px;margin:5px;float:left;"><tr><td>a</td></tr></table>
<table style="width:335px;height:100px;margin:5px;float:left;"><tr><td>a</td></tr></table>
<table style="width:335px;height:100px;margin:5px;float:left;"><tr><td>a</td></tr></table>
<table style="width:335px;height:100px;margin:5px;float:left;"><tr><td>a</td></tr></table>
</div>这里有10个table
我要的结果是这样- - -
- - -
- - -
-在IE8和9显示正常,在IE6、和7下面显示成这样- - -
- - -
-
- - -请问有什么办法解决?找遍网上的方法来试,还是没有解决。
解决方案 »
- 如果给嵌套网页定义显示的位置
- 不显示删除回复 显示所有回复 显示星级回复 显示得分回复 收藏 在VS2010中使用Chart1控件时出现以下错误?
- 送分,Webservers的注释怎么写
- 倒大霉了,我在xst文件里插入了 msxsl:script 最终需要 客户的机器装.net 运行环境,才能执行, 天啦,完蛋了
- 在没有关键字的情况下如何实现相关问题的列表啊?
- iframe问题,急!请教各位大哥!
- 一个datetime的问题??
- 求将人民币的数字表示转化成大写表示的vb.net代碼.
- DATAGRID定制模板中,怎样加入单选列表控件?
- ASP和ASP.NET共存会出问题?
- 一般处理程序返回JS的问题
- 求velocity ----.net 示例
额……我在IE 6 和 7下都不行,那个table是在asp.net mvc 3的cshtml页面循环生成的
还是没有效果
高度没有撑出去,加了clear:both,直接显示在一列下去了