I was looking for some resources about the use of CSS instead of tables and reached this presentation by Douglas Bowman that seems to be a 'classic'. I dug into it and found this sentence about the tables in the slide 6 that is very intriguing:
Keep the
cellspacing
attribute in the markup.
It's curious that in Eric Meyer's reset CSS is:
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: separate;
border-spacing: 0;
}
These makes me think having cellspacing in the mark up is really a best practice I didn't know. In my opinion the cellspacing is more about the presentation than about the semantics of the info. I've been thinking for a while but haven't been able to figure out why should I keep it in the HTML?