This element, which is Internet Explorer specific, can be used to group columns together to set their alignment properties. It accepts the following attributes:
ALIGN="center|justify|left|right"
This sets the text alignment within the column group. The default value is "center"
VALIGN="baseline|bottom|middle|top"
This sets the vertical text alignment within the column group.
SPAN="value"
This can be used to set the number of columns upon which the ALIGN
and VALIGN
attributes are to act.
WIDTH="initial column width"
The WIDTH
attribute can be used to set the initial column width for the column(s) that the <COLGROUP>
element covers.
TITLE="informational ToolTip"
The Internet Explorer 4.0 (and above) specific TITLE
attribute is used for informational purposes. As the <COLGROUP>
element doesn't render in the document, the TITLE
text will not get used as a ToolTip.
CLASS="Style Sheet class name"
The CLASS
attribute is used to specify the <COLGROUP>
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 <COLGROUP>
element can have in-line stylings attached to it. See the Style Sheets topic for details.
ID="Unique element identifier"
The ID
attribute can be used to either reference a unique style sheet identifier, or to provide a unique name for the <COLGROUP>
element for scripting purposes. Any <COLGROUP>
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.
Every <COLGROUP>
element in a document is an object that can be manipulated through scripting. Note that scripting of the <COLGROUP>
element/object is only supported by Internet Explorer 4.0 in its Dynamic HTML object model. Netscape does not support direct scripting of the <COLGROUP>
element at all.
<COLGROUP...>
Properties
Of the standard Dynamic HTML properties, the <COLGROUP...>
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.
Also, the <COLGROUP>
element supports properties of align, span, vAlign and width, all of which reflect the values of their respective attributes.
<COLGROUP...>
Methods
Of the standard Dynamic HTML methods, the <COLGROUP...>
element/object supports the following: click, contains, getAttribute, removeAttribute and setAttribute. Details of these can be found in the standard Dynamic HTML Methods topics.
<COLGROUP...>
Events
The <COLGROUP...>
element/object doesn't support any events.
© 1995-1998, Stephen Le Hunte
file: /Techref/language/html/ib/Tables/colg.htm, 5KB, , updated: 2004/3/1 15:47, local time: 2024/12/25 13:26,
18.117.232.108:LOG IN
|
©2024 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://techref.massmind.org/techref/language/html/ib/Tables/colg.htm"> <COLGROUP></A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.