Table border setting in html_html/css_WEB-ITnose
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-24 11:50:45
Original
1771 people have browsed it
First method:
1 | <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:
1 | <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
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
Latest Articles by Author
-
2025-02-26 03:58:14
-
2025-02-26 03:38:10
-
2025-02-26 03:17:10
-
2025-02-26 02:49:09
-
2025-02-26 01:08:13
-
2025-02-26 00:46:10
-
2025-02-25 23:42:08
-
2025-02-25 22:50:13
-
2025-02-25 21:54:11
-
2025-02-25 20:45:11
Latest Issues
-
2025-03-26 14:09:44
-
2025-03-26 14:04:41
-
2025-03-26 13:57:46
-
2025-03-26 13:56:42
-
2025-03-26 13:55:33