Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/80.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 保持表格高度固定,不管ie9中有多少行_Html_Css_Internet Explorer_Html Table - Fatal编程技术网

Html 保持表格高度固定,不管ie9中有多少行

Html 保持表格高度固定,不管ie9中有多少行,html,css,internet-explorer,html-table,Html,Css,Internet Explorer,Html Table,我想要的已经在这里了 唯一的问题是我不能让它在IE9上工作 我做了一把小提琴 我使用的示例表如下所示: <table border='1px'> <tr> <td>1</td><td>1</td> </tr> <tr> <td>2</td><td>2</td> </tr> <tr> <td>3&

我想要的已经在这里了

唯一的问题是我不能让它在IE9上工作

我做了一把小提琴

我使用的示例表如下所示:

<table border='1px'>
<tr>
    <td>1</td><td>1</td>
</tr>
<tr>
    <td>2</td><td>2</td>
</tr>
<tr>
    <td>3</td><td>3</td>
</tr>
<tr>
    <td>4</td><td>4</td>
</tr>
<tr>
    <td>5</td><td>5</td>
</tr>

11
22
33
44
55

这在Chrome甚至IE10上都能很好地工作。
但不是IE9。

尝试使用像素,而不是高度百分比,如果你使用百分比的话

我为你添加了一个小提琴,让你进一步澄清