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

Table border setting in html_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:50:45
Original
1692 people have browsed it

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>
Copy after login

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>
Copy after login


Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template