Home >Web Front-end >HTML Tutorial >Table border setting in html_html/css_WEB-ITnose

Table border setting in html_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 11:50:451736browse

First method:

<style>table{	background-color: #000;}td{	background-color: #fff;}</style><table border="0" cellspacing="1" cellpadding="0">	<tr>		<td>AAAAA</td>		<td>aaaaa</td>	</tr>	<tr>		<td>BBBBB</td>		<td>bbbbb</td>	</tr></table>

Second method:

<style>table{	border-collapse: collapse;}td{	border: 1px solid #000;}</style><table>	<tr>		<td>AAAAA</td>		<td>aaaaa</td>	</tr>	<tr>		<td>BBBBB</td>		<td>bbbbb</td>	</tr></table>


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