XML technologies / CSS / CSS Cookbook / Hacks, workarounds and debugging / Testing web designs across platforms with one computer
(Excerpt from “CSS Kochbuch” by Christopher Schmitt)
Problem
Test a website with different browsers and operating systems when only one computer is available.
Solution
Emulator software keeps costs down without requiring several hardware platforms.
If you have a PC
- Macintosh browsers
The free PearPC emulator lets a Windows computer emulate a PowerPC running Mac OS X and therefore Macintosh browsers. For details, see PearPC - PowerPC Architecture Emulator. Detailed instructions appear in the Short Cut Running Mac OS X on Windows by Wei-Meng Lee. Alternatively, use the iCapture online service to see how a page appears in Safari.
- Linux browsers
Knoppix:
Knoppix is a Linux system that starts directly from CD, requiring no installation.
VMWare Workstation:
The program VMWare Workstation lets you run various “virtual” operating systems on top of Windows. Unlike Knoppix, software must be installed, but starting another operating system does not require restarting the computer.
Windows and Linux on the same machine:
Debian Linux can be installed on a separate partition. Choose the system to use when the computer starts. For details, see Dual Booting Debian Linux and Windows.
If you have a Macintosh
- Virtual PC for Mac
Virtual PC is a Microsoft program for running virtual operating systems on a Macintosh, including Windows XP Professional and Home and Windows 2000 Professional, and thus different Internet Explorer versions.
- Boot Camp
Apple’s Boot Camp lets Intel Mac owners install Windows on their computers.
If you have a Linux workstation
- Wine
Wine is open-source software implementing the Windows API as a program running on the X Window System and Linux.
Discussion
To display CSS-based designs correctly across browsers, test layouts in as many browsers as possible. Installing several operating systems on one computer avoids unnecessary costs.
After installing another operating system, you also need the browsers. The easiest way is to download them from the browser archive.
BrowserCam is a web-based screenshot service. After registering, enter a page address and the desired browsers and operating systems in a form. The service then takes screenshots using those browsers and systems.
See also
More information about installing multiple browsers on the same 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