AstnRocker
Easiest way is to control spacing in the HTML with table attributes, eg:
document.write("<table cellpadding=\"5\" cellspacing=\"2\" border=\"1\">" + tblHTML + "</table>");
Cellpadding and cellspacing add vertical as well as horizontal spacing.
Alternatively, you can use CSS, which gives more control, eg:
<style>
td {
padding: 3px 12px;
}
</style>
This gives more horizontal padding than vertical (which cannot be achieved in HTML alone).Airshow
Airshow
WiFi Lounge Lizard
2,683 posts since Apr 2009
Reputation Points: 321
Solved Threads: 372