Apr 08
Cellpadding and Cellspacing in CSS
Web Development 1 Comment »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:
table { border-collapse: collapse; }

Recent Comments