文章详情页
table表格里面height不能在border和tr里面调?
浏览:149日期:2022-10-23 18:40:57
问题描述
老师您好,table表格里面height不能在border和tr里面调,显示代码为红色,浏览器显示不出来。只能在td里面设置。另外我的<tr>可以显示但全部为红色,这是什么原因?
<title>Title</title></head><body><table border="1" width="25" height="200" ><tr> <td>张麻子</td> <td>70</td> <td>80</td></tr><tr> <td>李三</td> <td>88</td> <td>90</td></tr></body></html>
问题解答
回答1:<title>Title</title></head><body><table sytle='border="1" width="25" height="200"' ><tr> <td>张麻子</td> <td>70</td> <td>80</td></tr><tr> <td>李三</td> <td>88</td> <td>90</td></tr></body></html>
回答2:<title>Title</title></head><body><table style='border="1" width="25" height="200" '><tr> <td>张麻子</td> <td>70</td> <td>80</td></tr><tr> <td>李三</td> <td>88</td> <td>90</td></tr></body></html>相关文章:
1. android - 启动模拟器的,报“Could not automatically detect an ADB binary……”,要怎么解决?2. 如何分别在Windows下用Winform项模板+C#,在MacOSX下用Cocos Application项目模板+Objective-C实现一个制作游戏的空的黑窗口?3. python - TypeError: tryMsgcode() takes exactly 2 arguments (0 given)4. javascript - 关于json中获取多个key-value对中多层嵌套key的name5. 关于docker下的nginx压力测试6. docker安装后出现Cannot connect to the Docker daemon.7. android clickablespan获取选中内容8. javascript - 最终生成的jsBundle文件压缩问题9. angular.js - angularjs的自定义过滤器如何给文字加颜色?10. node.js - 如何在服务器部署vuejs项目?
排行榜
