html表跨越整个宽度? [英] html table span entire width?
本文介绍了html表跨越整个宽度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
<table border="1" width="100%" ID="Table2">
<tr>
<td>100</td>
</tr>
</table>
这段代码仍然在表格两边留下空间,并留下空间。尝试让表格跨越页面的整个宽度。谢谢。
This code still leaves and "inch" of space on both sides of the table. Trying to get the table to span the entire width of the page. Thanks.
推荐答案
尝试(在< head>部分或现有的css定义中) b
$ b
Try (in your <head> section, or existing css definitions)...
<style>
body {
margin:0;
padding:0;
}
</style>
这篇关于html表跨越整个宽度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文