This element, which is Internet Explorer specific, can be used to specify the text alignment for table columns. It accepts the following attributes:
This sets the text alignment within the column group. The default value is "center"
This sets the vertical text alignment for the column (or column group). It accepts values of
middlebeing the default value.
This can be used to set the number of columns upon which the
ALIGN attribute is to act.
WIDTH="initial column width"
WIDTH attribute can be used to set the initial column width for the column(s) that the
<COL> element covers.
The Internet Explorer 4.0 (and above) specific
TITLE attribute is used for informational purposes. As the
<COL> element doesn't render in the document, the
TITLE text will not get used as a ToolTip.
CLASS="Style Sheet class name"
CLASS attribute is used to specify the
<COL> element as using a particular style sheet class. See the Style Sheets topic for details.
STYLE="In line style setting"
As well as using previously defined style sheet settings, the
<COL> element can have in-line stylings attached to it. See the Style Sheets topic for details.
ID="Unique element identifier"
ID attribute can be used to either reference a unique style sheet identifier, or to provide a unique name for the
<COL> element for scripting purposes. Any
<COL> element with an
ID attribute can be directly manipulated in script by referencing its
ID attribute, rather than working through the All collection to determine the element. See the Scripting introduction topic for more information.
<COL> element in a document is an object that can be manipulated through scripting. Note that scripting of the
<COL> element/object is only supported by Internet Explorer 4.0 in its Dynamic HTML object model. Netscape does not support direct scripting of the
<COL> element at all.
Of the standard Dynamic HTML properties, the
<COL...> element/object supports the following: className, document, id, isTextEdit, parentElement, parentTextEdit, sourceIndex, style, tagName and title. Details of these can be found in the standard Dynamic HTML properties topics.
<COL> element supports properties of align, span, vAlign and width, all of which reflect the values of their respective attributes.
Of the standard Dynamic HTML methods, the
<COL...> element/object supports the following: click, contains, getAttribute, removeAttribute and setAttribute. Details of these can be found in the standard Dynamic HTML Methods topics.
<COL...> element/object doesn't support any events.
© 1995-1998, Stephen Le Hunte
|file: /Techref/language/html/ib/Tables/col.htm, 5KB, , updated: 2004/3/1 16:47, local time: 2017/10/23 06:23,
|©2017 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.piclist.com/techref/language/html/ib/Tables/col.htm"> <COL></A>
|Did you find what you needed?|
PICList 2017 contributors:
o List host: MIT, Site host massmind.org, Top posters @20171023 RussellMc, Van Horn, David, James Cameron, Sean Breheny, IVP, alan.b.pearce, Neil, David C Brown, Bob Blick, Denny Esterline,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!