How to use CSS to implement thin-line table effects

Source: Internet
Author: User

How to use CSS to implement thin-line table effects:

While it is not recommended to use table when using layouts, table is not an element that cannot be used, as long as it is used properly with CSS, it is quite powerful, and using table in a specific situation is more advantageous than using a div, such as making a table, But the table comes with an ugly border, the following describes how to use CSS to implement the thin-line table effect. The code example is as follows:

<! doctype html> 

The above code can reveal the 1px "border" effect by setting the table's CellSpacing property value to 1px, then setting the table's background color to green, and then setting the cell's background color to white.

The original address is: http://www.51texiao.cn/div_cssjiaocheng/2015/0504/725.html

The original address is: http://www.softwhy.com/forum.php?mod=viewthread&tid=4645

How to use CSS to implement thin-line table effects

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.