STYLE

The STYLE object reflects the functionality of the Html STYLE tag. It is used to encapsulate the style sheet rules contained within the opening and closing instances of the STYLE tags. WIth the DOM specifications, you may alter or set the contents of the STYLE tags. This object differs from the style tag in that it is possible to assign a unique ID selector to it, and is not used to access or change the style sheet attributes on the fly, according to scripted actions or user input.

DOM Reference

Internet Explorer

window.document.all.elementID

The properties of the Style object are:

className
disabled
document
id
isTextEdit
lang
language
media
parentElement
parentTextEdit
readyState
sourceIndex
style
tagName
title
type

The Methods of the Style object are:

click()
contains()
getAttribute()
insertAdjacentHtml()
insertAdjacentText()
removeAttribute()
scrollIntoView()
setAttribute()

The Event Handlers for the Style object are:

onError
onLoad
onReadyStateChange