How to remove table gaps in css

藏色散人
Release: 2023-01-03 09:24:42
Original
12667 people have browsed it

Css method to remove table gaps: first open the corresponding HTML code file; then use the code "table{border-collapse:collapse;}" to remove the gaps between cells.

How to remove table gaps in css

The operating environment of this article: Windows7 system, HTML5&&CSS3, Dell G3 computer.

css table removes the spacing between cells in the table

There is a spacing between table cells:

Remove the spacing between cells The interval is:

table {
 border-collapse:collapse;
 }
Copy after login

Normal effect

Recommended: "css video tutorial"

The above is the detailed content of How to remove table gaps in css. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
css
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