Untitled Document



 Introduction to HTML
 Structure of HTML
 Creating First HTML  Document
 Building Your HTML  Document
 Tables
 Creating Basic Tables
   Table
   Creating Basic Table
   Table Parts
   The <TABLE> Tag
   Rows and Cells
   Empty Cells
 Captions
 Table and Cell Alignment
 
 Table Alignment
 Cell Alignment
 Cell that Span Multiple  Rows, Columns
 
 Cell that Span Multiple  Rows, Columns
 Defining Table and  Column Widths
 
 Defining Table and  Column Widths
   Setting Break in Text
   Table Widths
 Column Widths
 Other Features of Tables
 
 Other Features of  Tables
   Border Width
   Cell Spacing
   Cell Padding
   Color in Tables
 Other features of  Table
 Frames
 Including Images into  Document
 Including Multimedia
 Developing HTML  FORMS
 Using Style Sheet
 Understanding URLs
 Using JavaScript
 Using Java

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.




  Table > Other Features of Tables

  Other Features of Tables

Border Width
Cell Spacing
Cell Padding
Color in Tables

  Border Width

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

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

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.


  Color in Tables

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.


  Other features of Table

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.

Back Next


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.




17, Vadsarvala Nivas, 65-A, J. Nehru Road, Mulund (W), Mumbai - 400 080 INDIA
Tel : 91-22-21645588, 91-22-21640585 Fax : 91-22-21641545
Email : ionline@vsnl.com
© Image Online 2001-2003