首页
极刻
圈子
教程
开源
登录 / 注册
返回教程:CSS 参考手册
TRY RUN / 在线示例
CSS 参考手册 尝试一下
CSS 参考手册 尝试一下
源代码
运行
<!DOCTYPE html> <html> <head> <style> table { border-collapse:separate; empty-cells:hide; } </style> </head> <body> <table border="1"> <tr> <td>Peter</td> <td>Griffin</td> </tr> <tr> <td>Lois</td> <td></td> </tr> </table> <p><b>Note:</b> Internet Explorer 8 supports the empty-cells property if a !DOCTYPE is specified.</p> </body> </html>
运行结果