XML technologies / CSS / CSS Cookbook / Hacks, workarounds and debugging
(Excerpt from “CSS Kochbuch” by Christopher Schmitt)
Introduction
Web designers have long used hacks and temporary solutions (workarounds) to get around programming errors and limitations in some browsers. These techniques proliferated in the mid-1990s, including one-pixel GIFs, font tags and nested tables, to name just a few. Although the CSS 2 specification became a Recommendation back in 1998, browser vendors only recently fully integrated the standard into their products. Because of this delay, many people still use browsers with inadequate CSS support.
To compensate for poor or incorrect CSS support, web developers are therefore still sometimes forced to use hacks and workarounds to implement their page designs successfully.
Although most problems have now been fixed in modern browsers, several reasons remain for continuing to use hacks and workarounds to present content correctly to users.
Unlike web developers, ordinary users do not automatically update their browsers when new versions appear. They prefer to keep the program already installed on their computer: after all, it works. A new browser becomes relevant only when they buy a new computer. Another factor is the IT departments of large companies, which lock down their systems to prevent employees from using their own programs.
This chapter provides techniques for making your designs look good even in browsers with faulty CSS support. They include solutions for Internet Explorer 5.x for Windows and its distinctive interpretation of the box model, and much more.
Preventing flicker when loading pages in Internet Explorer 5.x for Windows
Installing multiple versions of Internet Explorer for Windows on one computer
Copyright of the German edition © 2007 by O’Reilly Verlag GmbH & Co. KG
You may print the online version for your private use.
Otherwise, this chapter from “CSS Kochbuch” is subject to the same conditions as the bound edition: the work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
O’Reilly Verlag GmbH & Co. KG, Balthasarstr. 81, 50670 Köln