菜鸟学堂
在线运行
源代码
<!DOCTYPE html> <html> <head> <style> table.ex1 {table-layout:auto} table.ex2 {table-layout:fixed} </style> </head> <body> <table class="ex1" border="1" width="100%"> <tr> <td width="5%">1000000000000000000000000000</td> <td width="95%">10000000</td> </tr> </table> <br> <table class="ex2" border="1" width="100%"> <tr> <td width="5%">1000000000000000000000000000</td> <td width="95%">10000000</td> </tr> </table> </body> </html>
运行结果
在线运行
菜鸟学堂 edu.jb51.net