O'Reilly logo

Platinum Edition Using XHTML™, XML, and Java™ 2 by Andrew H. Watt, Mike Morgan, Jim O'Donnell, Eric Ladd

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

JavaScript Accessible Style Sheets

Netscape Navigator does support the CSS specification, and using the CSS approach is a perfectly good way to build style information into your documents. But, as you saw earlier in the chapter, Navigator also includes style properties in the browser object model, which means you can use JavaScript to access and set style characteristics. Netscape calls this approach JavaScript Accessible Style Sheets; it was the first major feature of Netscape's version of Dynamic HTML in Navigator 4.

The advantage of JavaScript Accessible Style Sheets is that by using the browser object model, you can dynamically change style information by using scripts triggered by certain events that come about from user actions. This section ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required