Cellpadding and Cellspacing in CSS
Those of us who learned HTML early in the game are familiar with HTML table parameters cellpadding and cellspacing. In a positive way they were deprecated in HTML4 so you must use CSS to control the padding and spacing now.
Here is how you do it in CSS:
border-collapse: collapse;
A nice line to place in your global CSS file (if you use one) is:
csstable { border-collapse: collapse; }
This post is licensed under CC BY 4.0 by the author.