该 表格的布局特性是帮助你控制浏览器如何呈现或布局的表。此属性可以具有以下三个值之一:固定,自动或继承。
您可以尝试运行以下代码来实现CSS table-layout属性
<html> <head> <style> table.auto { table-layout: auto } table.fixed{ table-layout: fixed } </style> </head> <body> <table class = "auto" border = "1" width = "100%"> <tr> <td width = "20%">1000000000000000000000000000</td> <td width = "40%">10000000</td> <td width = "40%">100</td> </tr> </table> <br /> <table class = "fixed" border = "1" width = "100%"> <tr> <td width = "20%">1000000000000000000000000000</td> <td width = "40%">10000000</td> <td width = "40%">100</td> </tr> </table> </body> </html>