开发者

table { border-collapse: separate; } or table { border-collapse: collapse; }

What should i keep table { border-collapse: separate; } or table { border-开发者_如何学运维collapse: collapse; } in my css.

which would be better in which condition?


It depends on what you want. They are different ways to render a table with different visual results. Check out this article for an illustration.

separate is the default.

Support for some border-collapse settings is incomplete in IE. See the brilliant compatibility table

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜