怎么令到表格贴近浏览器?
<table width= "100% " height= "100% " border= "2 " cellpadding= "0 " cellspacing= "0 " bordercolor= "#990000 ">
<!--DWLayoutDefaultTable-->
<tr>
<td width= "100% " height= "80 " align= "center " valign= "middle " bordercolor= "#000000 "> <!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height= "223 " align= "center " valign= "middle " bordercolor= "1 " bgcolor= "#FFFFFF "> <!--DWLayoutEmptyCell--> </td>
</tr>
</table>
-----------------
这个代码里,怎么令到框贴到浏览器的的边?
------解决方案-------------------- <style type= "text/css ">
html,body{height:100%;margin:0}
</style>
<table width= "100% " height= "100% " border= "2 " cellpadding= "0 " cellspacing= "0 " bordercolor= "#990000 ">
<tr> <td> 贴边儿
</td> </tr>
</table>
这样应该贴边儿了吧~
------解决方案-------------------- <style type= "text/css ">
*{
padding:0px;
margin:0px;
}
</style>
------解决方案--------------------楼上的这个方法就可以了.