Controlling Styles with JavaScript

The new W3C DOM (Document Object Model) makes it easy for JavaScript applications to control the styles on a page. Whether you use style sheets or not, you can use JavaScript to modify the style of any element on a page.