|
|
Border Width |
|
|
Cell Spacing |
|
|
Cell Padding |
|
|
Color in Tables |
You can also change the width of the border
drawn around the table. If BORDER has a numeric value, the
border around the outside of the table is drawn with that pixel width.
Cell spacing is similar to cell padding
except that it affects the amount of space between cells-that
is, the width of the shaded lines that separate the cells.
The CELLSPACING attribute in the <TABLE>
tag affects the spacing for the table. Cell spacing also includes
the outline around the table, which is just inside the table border.
Cell padding is the amount of space between
the edges of the cell and the cell's contents. You can add
more space by adding the CELLPADING attribute to the <TABLE>
tag, with a value in pixels for the amount of cell padding you want.
To change the background color of a table,
a row, or a cell inside a row, use the BGCOLOR attribute along
with <TABLE>, <TR>,
<TH>, or <TD>
tags. Each background color overrides the background color of its enclosing element.
In this Exercise you learn the other features of Tables.
By assigning numeric value to the BORDER
attribute you can change the width of the border.

Copyrights : Layout Galaxy All Rights Reserved
No part of this tutorial may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, electrostatic, magnetic tape, mechanical or otherwise, without prior permission in writing from Layout Galaxy.
|
|
|