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

Formatting with Style Sheets

The W3C's CSS1 style sheet specification was one of the first technologies considered a part of Dynamic HTML that was agreed to by both Netscape and Microsoft. Even so, none of their browsers'various versions or platforms fully implement the specification, nor do they implement everything in the same way. Also, although all the implementations of Dynamic HTML expose the style sheet properties to scripting, the Document Object Model that does this is different for each.

So, the first step to take before using style sheet properties in a Web page meant to be cross-browser compatible is to make sure you use those properties that are consistently implemented in each. Fortunately, this task is made easier by some online ...

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