首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > CSS >

ie8css有关问题

2012-08-27 
ie8css问题!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtm

ie8css问题
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<style>
* {margin:0;padding:0;}
body {width:98%;font:Verdana, Geneva, sans-serif;font-size:12px;}
.wrap{width:98%;height:300px; margin:100px auto; border:1px solid red;overflow:auto; }
.tableBox {width:1800px; margin:0 auto;}
table {table-layout:fixed;width:98%;margin:1px auto; *margin:0 auto;border-collapse:collapse; border-top:1px solid #c0c0c0;border-left:1px solid #c0c0c0;}
th,td{height:25px; *height:24px; overflow:hidden;border-bottom:1px solid #c0c0c0;border-right:1px solid #c0c0c0;}

th {background:#E2EAFE}
</style>
<body>
<div >
            <table>
                <tr>
                    <th>1</td>
                    <th>22</td>
                    <th>333</td>
                    <th>4444</td>
                    <th>55555</td>
                    <th>666666</td>
                </tr>
                <tr class="odd">
                    <td>1111111</td>
                    <td>2222222</td>
                    <td>3333333</td>
                    <td>4444444</td>
                    <td>5555555</td>
                    <td>6666666</td>
                </tr>
                <tr>
                    <td>1111111</td>
                    <td>2222222</td>
                    <td>3333333</td>
                    <td>4444444</td>
                    <td>5555555</td>
                    <td>6666666</td>
                </tr>
                <tr>
                    <td>1111111</td>
                    <td>2222222</td>
                    <td>3333333</td>
                    <td>4444444</td>
                    <td>5555555</td>
                    <td>6666666</td>
                </tr>
                <tr>
                    <td>1111111</td>
                    <td>2222222</td>
                    <td>3333333</td>
                    <td>4444444</td>
                    <td>5555555</td>
                    <td>6666666</td>
                </tr>
                <tr>
                    <td>1111111</td>
                    <td>2222222</td>
                    <td>3333333</td>
                    <td>4444444</td>
                    <td>5555555</td>
                    <td>6666666</td>
                </tr>
                <tr>
                    <td>1111111</td>
                    <td>2222222</td>
                    <td>3333333</td>
                    <td>4444444</td>
                    <td>5555555</td>
                    <td>6666666</td>
                </tr>
                <tr>
                    <td>1111111</td>
                    <td>2222222</td>
                    <td>3333333</td>
                    <td>4444444</td>
                    <td>5555555</td>
                    <td>6666666</td>
                </tr>
                <tr>
                    <td>1111111</td>
                    <td>2222222</td>
                    <td>3333333</td>
                    <td>4444444</td>
                    <td>5555555</td>
                    <td>6666666</td>
                </tr>
                <tr>
                    <td>1111111</td>
                    <td>2222222</td>
                    <td>3333333</td>
                    <td>4444444</td>
                    <td>5555555</td>
                    <td>6666666</td>
                </tr>
                <tr>
                    <td>1111111</td>
                    <td>2222222</td>
                    <td>3333333</td>
                    <td>4444444</td>
                    <td>5555555</td>
                    <td>6666666</td>
                </tr>
                <tr>
                    <td>1111111</td>
                    <td>2222222</td>
                    <td>3333333</td>
                    <td>4444444</td>
                    <td>5555555</td>
                    <td>6666666</td>
                </tr>
            </table>
        </div>
</div>
</body>
</html>

热点排行