Why does border-spacing: 10px; in table not work?

黄舟
Release: 2017-06-30 10:03:32
Original
3259 people have browsed it

I use style sheet: table {border-collapse: separate;border-spacing: 10px; border:1px solid #000000; }, I wanttableCell separation, but why does the set border-spacing not work? Please give me some advice

I just want to use CSS to achieve the following effect, but border-spacing: 10px; does not work

    无标题文档 
Copy after login

I just want to use CSS to achieve the above effect. I don’t know how to use CSS to achieve the cellspacing="4" effect set in HTML. I tried border-spacing: 10px; but it didn’t work; please help me. Please give me some advice

ie+ff

    无标题文档   
Copy after login

does not support
but why should we give up such a good built-in function of table.
Use css to complicate the table. .

The above is the detailed content of Why does border-spacing: 10px; in table not work?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!