What should i keep
table { border-collapse: separate; }
or table { border-collapse: collapse; }
in my css.
which would be better in which condition?
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