Learn HTML Code Tutorial Reference Guide

Attribute for <TABLE ...>
CELLPADDING = integer

Usage Recommendation
thumbs up use it

illustration of CELLPADDING attributeCELLPADDING sets the amount of space (both horizontal and vertical) between the cell wall and the contents. The default value for CELLPADDING (i.e., if you don't use the attribute at all) is 1. So, for example, the following examples demonstrate CELLPADDING when it is absent, when it it set to 1, and when it is set to 10.

this code produces this
<TABLE BORDER>
peachescherries
walnutsalmonds
<TABLE BORDER CELLPADDING=1>
peachescherries
walnutsalmonds
<TABLE BORDER CELLPADDING=10>
peachescherries
walnutsalmonds




 

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   Privacy Policy   |   About
Copyright ©1997-2002 Idocs and ©2002-2014 HTML Code Tutorial