You are here:  NetStrider » Tutorials » HTMLRef » Tables » COL «
<COL> Command

Command Syntax:

<COL command parameters>

The <COL> command defines the characteristics of a <TABLE> column in the Internet Explorer browser.

See also:  <COLGROUP>, <TABLE>.

Command Parameters: 
align="left | right | center"

Where:

  • left -
    horizontally aligns elements in all table data cells in the defined column to the left
  • right -
    horizontally aligns elements in all table data cells in the defined column to the right
  • center -
    horizontally aligns elements in all table data cells in the defined column to the center
span="integer"

Defines the number of columns that are affected by the formatting within the <COL> command.

Example: 
<TABLE>
  <COL align="left" span="2">
  . . .
</TABLE>
  • Defines attributes for the first two columns in the table.

  • Elements in all table data cells in the columns are aligned to the left.

See also:  <COLGROUP>.

Return to Section A:D


Table of Contents.
Author: Randy D. Ralph.  In place February 27, 1999.  Copyright © 1999 NetStrider.  Presented as a public service.




Hosted by uCoz