Home  >  Article  >  Web Front-end  >  Detailed description of HTML table border control_HTML/Xhtml_Web page production

Detailed description of HTML table border control_HTML/Xhtml_Web page production

WBOY
WBOYOriginal
2016-05-16 16:41:211847browse

Show only the top border


Show only the bottom border

Show only the left and right borders

Show only the top and bottom borders

Show only the left border

Show only the right border

Do not display any borders


Copy the code
The code is as follows:



表格边框的隐藏




















































这是一普通的表格













只显示上边框











只显示下边框











上不着天  
  下不着地


只显示左、右边框










去掉两边
只剩“王”字

只显示上、下边框













只显示左边框











只显示右边框











四周 去掉
只留 中间

不显示任何边框



表格边框的显示与隐藏,是可以用frame参数来控制的。请注意它只控制表格的边框图,而不影晌单元格。

只显示上边框 <table frame=above>

只显示下边框 <table frame=below>

只显示左、右边框 <table frame=vsides>

只显示上、下边框 <table frame=hsides>

只显示左边框 <table frame=lhs>

只显示右边框 <table frame=rhs>

不显示任何边框 <table frame=void>




Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:TD width problem when TD cells are merged_HTML/Xhtml_Web page productionNext article:TD width problem when TD cells are merged_HTML/Xhtml_Web page production

Related articles

See more