Name

COL, COLGROUP — NN n/a IE 4 DOM n/a

Synopsis

The COL object reflects the COL element; the COLGROUP object reflects the COLGROUP element. Both elements provide ways of assigning multiple adjacent columns to groups for convenience in assigning styles, widths, and other visual treatments.

HTML Equivalent

<COL>
<COLGROUP>

Object Model Reference

IE

[window.]document.all. elementID

Properties

align

lang

offsetTop

parentTextEdit

tagName

className

language

offsetWidth

sourceIndex

title

document

offsetHeight

outerHTML

span

vAlign

id

offsetLeft

outerText

style

width

isTextEdit

offsetParent

parentElement

  

Methods

click( )

removeAttribute( )

setAttribute( )

getAttribute( )

  

Collections/Arrays

all[]

children[]

 

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.