What should i keep
table { border-collapse: separate; } or table { border-collapse: collapse; } in my css.
which would be better in which condition?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.
separateis the default.Support for some
border-collapsesettings is incomplete in IE. See the brilliant compatibility table