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

Chapter 12. Using Style Sheets with Indi... > What About Browser Compatibility?

What About Browser Compatibility?

If you have already used style sheets, you will be aware that Internet Explorer and Netscape are not fully compatible when it comes to rendering styled pages. Consequently, if you use style sheets, you'll have to test your pages carefully in each browser. However, to avoid reinventing the wheel and doing all the testing yourself, you can use the Web to find out which style elements are compatible—or not—with the major browsers. One such resource, for CSS1, is at http://www.webreview.com/style/css1/charts/mastergrid.shtml. This page also provides links to a CSS FAQ and a glossary. Still more resources regarding style sheets can be found at http://www.webreview.com/style, the parent of the previous page.

Tip

If you want to use CSS elements that aren't common to both browsers, you'll need to insert browser detection scripts into your pages. Such scripts, written in the JavaScript language, identify the user's browser and its version, and then redirect him to whichever section of the page is compatible with the browser he's using. This, obviously, requires some programming knowledge.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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