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
精彩评论