In HTML, the table tag has two properties, cellspacing and cellpadding. Cellspacing controls the space between table cells by defining the pixel width between them (controls the thickness of the border in other words). Cellpadding controls the amount of space between the contents of the cell (text, images, etc) from the cell wall (border). The default for both properties is zero.
Here are some samples:
< table border="1" >
< tr >
< td >some text< /td >
< td >some text< /td >
< /tr >< tr >
< td >some text< /td >
< td >some text< /td >
< /tr >
< /table >
What it looks like:
i157.photobucket.com
< table border="1" cellspacing="5" >
< tr >
< td >some text< /td >
< td >some text< /td >
< /tr >< tr >
< td >some text< /td >
< td >some text< /td >
< /tr >
< /table >
What it looks like:
i157.photobucket.com
< table border="1" cellpadding="10" >
< tr >
< td >some text< /td >
< td >some text< /td >
< /tr >< tr >
< td >some text< /td >
< td >some text< /td >
< /tr >
< /table >
What it looks like:
i157.photobucket.com
Here are some samples:
< table border="1" >
< tr >
< td >some text< /td >
< td >some text< /td >
< /tr >< tr >
< td >some text< /td >
< td >some text< /td >
< /tr >
< /table >
What it looks like:
i157.photobucket.com
< table border="1" cellspacing="5" >
< tr >
< td >some text< /td >
< td >some text< /td >
< /tr >< tr >
< td >some text< /td >
< td >some text< /td >
< /tr >
< /table >
What it looks like:
i157.photobucket.com
< table border="1" cellpadding="10" >
< tr >
< td >some text< /td >
< td >some text< /td >
< /tr >< tr >
< td >some text< /td >
< td >some text< /td >
< /tr >
< /table >
What it looks like:
i157.photobucket.com