Get the App
SLTechnology News&Howtos  ›  Development  › 

How does an attribute border-collapse solve the border problem of Table

Shulou Source: shulou.com Published: 2022-06-03 07:51:46 10月04日 Update

In this issue, Xiaobian will bring you about a property border-collapse how to solve the border problem of Table. The article is rich in content and analyzed and described from a professional perspective. After reading this article, I hope you can gain something.

The most headache in page making, the border of the form is one of them, I hate to do the form with the border, and today I finally solved this problem.

The border-collapse property is a good solution to a long-standing problem

CSS

The code is as follows:

.table{border: 1px solid #ccc;border-collapse: collapse; width:80%;}.table th,.table td{border: 1px solid #ccc;padding: 10px;}

Html

The code is as follows:

id

author

title

content

classification

001

Tang jiasan

break the sky

Break the sky, break the sky.

fantasy

001

Tang jiasan

break the sky

Break the sky, break the sky.

fantasy

The above is a property border-collapse shared by Xiaobian for everyone. How to solve the border problem of Table? If there is a similar doubt, please refer to the above analysis for understanding. If you want to know more about it, please pay attention to the industry information channel.

Tags: Heaven questions attributes borders content code fantasy tables Tang family analysis headaches majors small and medium-sized book titles authors rich content that is articles more knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Xiaomi Redmi Shulou Information Microsoft