Share this Page URL

Controlling Margins, Padding, and Border... > Setting Padding and Borders - Pg. 160

SATURDAY EVENING (BONUS SESSION) Working with Tables 157 Increasing the value of the BORDER attribute increases the thickness of the outer border of the table, displaying it in 3D relief; however, it doesn't affect the appearance of the interior lines of the table. Increase the size of the border to 6 pixels (see Figure 5.5): <table border="6"> Setting Spacing and Padding The CELLSPACING attribute adds space between cells, whereas the CELLPADDING attribute adds space within each cell. Add six pixels of spacing and padding to the table (see Figure 5.6): <table border="6" cellspacing="6" cellpadding="6">