Get the App
SLTechnology News&Howtos  ›  Development  › 

How to realize the solid Line of Table by css

Shulou Source: shulou.com Published: 2022-06-01 07:37:01 10月27日 Update

Editor to share with you css how to achieve the solid line of the table, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to understand it!

Use to set the solid lines of the table in css:

The code is as follows:

Table {

Border-collapse:collapse;/* means to merge spaces between cells * /

Border:1px#00Fsolid;/* defines the border style * /

}

Example:

Untitled page

Table {

Border-collapse:collapse

}

Tabletd {

Border:1pxsolid#fff000

}

First

Second

Three

first

Second

Third

The above is all the contents of the article "how to achieve solid lines in css". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Solid lines tables articles content not so much between code units most small boxes more headings styles knowledge examples gaps industries information channels borders Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Shulou Information macOS Linux Shulou Technology