IE 6中的HTML DIV问题 [英] HTML DIV problem in IE 6
问题描述
< div style = "heigh t:250px; border-width:2px; border-color:#0066cc; border-style:solid; overflow:scroll" > < 表 边框 = "3" bordercolor = "灰色" 对齐 = "右" 宽度 = "100%" id = "displayTable" > < thead > < tr > < Th >< / Th > < > 第1列 < / > < > 第2列 < / > < > 第3列 < / > < > 第4列 < / > < > 第5列 < / > < / tr > < / thead > < tbody 样式 = "font-size:80%;高度:100%;溢出:滚动" 对齐 = "center" > < / tbody > < / 表 > < / div >
我在IE 6中遇到div问题。
在IE 7和IE 8中工作正常
这里的问题是这里没有正确显示表格。
请给我解决方案。
谢谢
你好,
请立即查看。
< div style =" height:250px; border-width:2px; border-color:#0066cc; border-style:solid ; overflow:auto">
< table border =" 3" bordercolor =" grey" align =" right" width =" 100%" id =" displayTable">
< thead >
< tr>
<的第i;
& nbsp;
< / th>
< th>
第1栏
< / th>
< th>
第2栏
< / th>
< th>
第3栏
< / th>
< th>
第4栏
< / th>
< th>
第5栏
< / th>
< / tr>
< / thead>
< tbody style =" font-size:80%;身高:100%;溢出:汽车" align =" center">
< / tbody>
< / table>
< / DIV>
Hi, < div style="height: 250px;border-width:2px;border-color:#0066cc;border-style:solid;overflow:scroll"> <table border="3" bordercolor="gray" align="right" width="100%" id="displayTable"> <thead> <tr> <Th></Th> <th>column 1</th> <th>column 2</th> <th>column 3</th> <th>column 4</th> <th>column 5</th>
</tr> </thead> <tbody style="font-size:80%;height:100%;overflow:scroll" align="center">
</tbody> </table> </div>
I have a problem with div in IE 6.
It is working fine in IE 7 and IE 8
Problem here is the table is not displaying properly here.
please provide me the solution.
thanks
Hi,
Please check now.
<div style="height: 250px;border-width:2px;border-color:#0066cc;border-style:solid;overflow:auto">
<table border="3" bordercolor="gray" align="right" width="100%" id="displayTable">
<thead>
<tr>
<th>
</th>
<th>
column 1
</th>
<th>
column 2
</th>
<th>
column 3
</th>
<th>
column 4
</th>
<th>
column 5
</th>
</tr>
</thead>
<tbody style="font-size: 80%; height: 100%; overflow:auto" align="center">
</tbody>
</table>
</div>
这篇关于IE 6中的HTML DIV问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!