Using dynamic manipulation methods (lower frame)

Using dynamic manipulation methods (lower frame)

Style

An object that specifies the style of HTML elements.

Client-side object

Implemented in JavaScript 1.2

Created by

Any of the following properties or methods of the document object:

document.classes

document.contextual

document.ids

document.tags

Description

The Style object lets you implement dynamic HTML style sheets in JavaScript. The methods and properties of the Style object implement the cascading style sheet style properties of HTML in JavaScript.

For a complete description of style sheets, see Dynamic HTML in Netscape Communicator.