• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 27. Cross-Browser Dynamic HTML > Formatting with Style Sheets

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 both 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 resources. At http://style.webreview.com/ you can find a compilation of style sheet properties that are considered safe for cross-browser deployment. Figure 27.2 shows part of the grid of safe properties, showing browser and platform and whether the property is completely (indicated by Y) or partially (indicated by P) safe.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint