Page 96 - CA 165 ver 1.0 Class 10
P. 96

CELLPADDING Attribute
                  This attribute is used to specify the space between grid line and content in the cell. The spacing can
                  be increased or  decreased by specifying the value in number with this attribute. Syntax  to use the
                  CELLPADDING attribute is as follows:

                    <TABLE BORDER = “Value” CELLPADDING=“Value”>
                  For example:

                    <TABLE BORDER=“2” CELLPADDING=“15”>









                                                                                Space between cell
                                                                              border and cell content.



















                  CELLSPACING Attribute
                  This attribute is used to specify the space between cells. The spacing can be increased or decreased by
                  specifying the value in number with this attribute. Syntax to use the CELLSPACING attribute is as follows:

                    <TABLE BORDER = “Value” CELLSPACING=“Value”>
                  For example:

                    <TABLE BORDER=“2” CELLSPACING=“10”>
                                                                              Space between the cells.



























                   94    Touchpad Computer Applications-X
   91   92   93   94   95   96   97   98   99   100   101