| Cell that Span Multiple Rows, Columns |
You can create cells that span multiple
rows and columns within the table. Those spanned cells can
then hold headings that have subheadings in the next rows
and column, or you can create other special effects within the table layout.
Syntax:
To create a cell that spans multiple rows
or columns, add the ROWSPAN or COLSPAN attribute to the <TH>
or <TD> tags, along with
the number of rows and columns you want the cell to span.
<TR>
<TH COLSPAN=..>
or <TD
ROWSPAN=
> </TR>
In this Exercise you learn about Cells
That span Multiple Rows and Columns.
COLSPAN attribute is used within a <TH>
or <TD> tag, indicates the
number of cells to be spanned to the right of the cell "Ring Clearance".
ROWSPAN attribute is used within a <TH>
or <TD> tag, indicates the number of cells to be spanned below.
ALIGN attribute is used to indicate the
horizontal alignment of the cells within that row(overriding
the default alignment of heading and the table cells).
The browser displays the table.

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.
|
|
|