Home > Article > Web Front-end > Please tell me how to set the minimum height of the table. Setting min-height in tr is useless_html/css_WEB-ITnose
RT
It seems that the min-height style of table elements (including table, tr, td) is only available in IE Only valid under browser. However, for the table, you only need to set the height, because the table element content will automatically "expand" when it exceeds the set height.
<style type="text/css">table { height:1000px;}td { border:1px solid #CCC;}</style><table> <tr> <td> </td> </tr> <tr> <td> </td> </tr></table>
NO Does the poster use IE6? ? ? This is not supported. It seems like
No, too many words will leak out of the table. It seems that the min-height style of table elements (including table, tr, td) is only valid under the IE browser. However, for the table, you only need to set the height, because the table element content will automatically "expand" when it exceeds the set height.
HTML code
080b747a20f9163200dd0a7d304ba388
table {
height:1000px;
}
td {
border:1px solid #CCC ;
}
chrome NO Does the original poster use IE6? ? ? This won’t support Sarah. It seems