|
Instructional Module X24c |
|
||
| |
|---|
|
When we design Websites for commercial or nonprofit organizations, it's very important that our pages be accessible to as many people as possible, and that they look the way we intended. Since people use a wide variety of computer systems and several browsers, this is a real challenge. During the mid- and late-1990s, browser development went through a "wild west" stage of energetic and undisciplined development. Browser developers created new tags and features - for the convenience of designers and to provide incentives for people to use their browser, rather than the competition's. Unfortunately, this resulted in a hodgepodge of incompatible tags and unreliable rendering, frustrating both Web designers and the viewing public. To combat the frustration, chaos, and anarchy, W3C was formed with a mission of creating standards that all browsers would use. The benefits of this effort have been felt in the early 2000s, but the people writing the standards have also created features that are really challenging for browser developers to implement. As a result, not all browsers can handle all the "standard" features, even though they try to follow the standards. Bottom line? Web coders still have to design with an eye to compatibility. This module discusses the causes of browser incompatibility, and some strategies for designing compatible pages. |
| |
|
|---|---|
| Given the range of problems, how are we to create pages that work well in as many browsers as possible? Here are some strategies... | |
|
Use only standard features
|
Be aware of the problems noted in the previous section, and be careful to avoid features that aren't standard. |
|
View your Web pages in several browsers
|
In the hurry to create a Web page, we often overlook the need to check our work in an array of browsers. Web developers need to keep the latest versions of the most widely used browsers, but also some of the older browsers as well. Here are some browsers to check with:
If you've viewed your page in all the browsers on Windows, you should also view them on a Macintosh. Browser implementations can be noticeably different on Windows and Macs. The brightness of colors and the font sizes are aspects to pay attention to, as well as the whether the page is rendered satisfactorily. To check browser popularity, you can view recent server statistics. All servers receive information from browseer requesting Web files in the HTTP headers, and this information is usually stored and analyzed by software designed to show interesting and useful information. One site that makes this information public is the University of Illinois at Champaign-Urbana - where the first graphical browser, Mosaic, was developed. Though not necessarily representative of browser use by the public world-wide, it is a helpful and interesting site: http://www.cen.uiuc.edu/bstats/latest.html#BrowsersDNS One way to save time (and space on your disk) is to use the Delorie HTML Authoring Services page: http://www.delorie.com/web/. This offers several helpful features:
|
|
Be aware of the compatibility of the features
you use
|
There are some very helpful Websites that keep track of compatibility. Here are some good places to look:
|
|
Avoid newer features until they are widely implemented
|
It's often tempting when we see wonderful new features, to use them as soon as possible. Of course, experimenting with them is good - but we need to be cautious about using new features that aren't supported by browsers at least one generation back. |
|
Avoid features that are not uniformly implemented
|
Similarly, features that allow us to be creative need to be viewed with some caution, and avoided if they aren't implemented the same in different browsers. Especially important to avoid are the features that have quirky or buggy implementations in some browsers. Check the listings above to see what's well supported. |
|
Validate your Pages and Stylesheets
|
Hopefully, you're already in the habit of validating your pages. This insures that they meet standards that are up-to-date and will provide uniform rendering well into the future.
|
|
Know the current browsers
|
In addition to using the work of others, you can check browsers yourself to see how well they render CSS. You can do this at: http://www.w3.org/Style/CSS/Test/CSS1/current/sec00.htm This is a fairly long and complex process; be sure to read the introductory
explanations first! |
| |
|
|---|---|
![]() |
Click here for review questions. |
|
Audience
|
|
| Objectives | On successful completion of this module, you will be able to:
|
| Module X24c: Browser Compatibility Issues | This document is part of a modular
instruction series in Computer Instruction. For more information, see
the overview
or the list of modules in this series, X: XML, etc.
This document has been used in the following classes: INP
150. |
| History | Original: 26 October 2003, by
Laurence J. Krieg Last modification: Monday, 31-Aug-2009 11:48:08 EDT |
| Copyright | Copyright © 2003, Laurence
J. Krieg, Washtenaw Community College Instructors: You may point to this file in your Web-based materials; however, its location may change without notice. Students: You are welcome to make a copy for your personal use. All other uses: Please contact the author, Laurence J. Krieg, for permission: krieg@ieee.org. |