HTML table表格边框的控制详细说明_HTML/Xhtml_网页制作
html
table
只显示上边框
<表格边框="1" width="200" cellpadding="0" cellspacing="0"> "> | 普 | 表 | 通 | 格 |
< ;td>天
;
表>
表>
表>
<表格宽度=“200”边框=“1”cellspacing=“0”cellpadding=“0”frame=lhs>
表>
四周 | 去掉 |
只留 | 中间 |
表格边框的显示与隐藏,是可以用frame参数来控制的。请注意它只控制表格的边框图,而不影晌单元格。
只显示上边框 <table frame=above>
只显示下边框 <table frame=below>
只显示左、右边框 <table frame=vsides>
只显示上、下边框 <table frame=hsides>
只显示左边框 <table frame=lhs>
只显示右边框 <table frame=rhs>
不显示任何边框 <table frame=void>