Don't wait until you've finished your site before embarking on a thorough strategy of testing. By that time, serious design errors may have so completely infested your site's pages that you may have to start over, or at least spend many hours fixing problems that could have been prevented early on.
Preview early and often . The single best way to make sure a page looks and functions the way you want is to preview it in as many Web browsers as possible. Use Dreamweaver's Preview command (see Section 1.3.5) to preview your page in every browser you can get your hands on. Make sure the graphics look right, that your layout remains the same, and that Cascading Style Sheets, Dreamweaver behaviors, and complex layout methods work as you intended.
For a thorough evaluation, however, you should preview your pages using every combination of browser and operating system you think your site's visitors may use. Enroll co-workers , family members , and household pets, if necessary, in this effort. At the very least, test your pages using Internet Explorer 5 and 6 on Windows, Firefox on Windows and the Mac, and Safari on the Mac. According to several sources, including TheCounter.com (www. thecounter .com/stats/) and BrowserNews (www.upsdell.com/BrowserNews/stat.htm), Internet Explorer 6 for Windows is installed on upwards of 80 percent of all computers surfing the Web, followed by Internet Explorer 5, Firefox, Safari, and others. If you have access to an AOL accountlike 22 million other people around the worlduse it. And as the population of Opera browsers grows, add this browser to your test schedule, too.
Unfortunately, you'll discover that what works on one browser/operating system combination may not work on another. That's why you should preview your designs early in the process of constructing your site. If you design a page that doesn't work well in Internet Explorer 6 on Windows, for example, it's better to catch and fix that problem immediately than discover it after you've built 100 pages based on that design.
Check pages in a range of browsers . Dreamweaver's Check Browser Support command (see Section 14.2) is a helpful diagnostic tool; it analyzes the code of your Web pages and checks for compatibility with various versions of a handful of Web browsers.
Once again, take this step early in the process of building your site. After completing a preliminary design for your home page, for example, use this tool to see if the code works in the browsers you're aiming for.
Validate your pages . Dreamweaver includes a tool that lets you compare your Web pages against agreed-upon standards for HTML and other Web languages. It checks to make sure your pages are valid (that they conform to these standards).
Valid pages are more likely to work in a predictable way on all Web browsersnot just Internet Explorer. And if you envision your site on mobile devices such as cellphones and palmtops, valid pages are again a better bet. In fact, you can even validate your Web pages to see if they conform to Wireless Markup Language (WML)a tag-based language like HTML used for creating content for mobile phone Web browsers.
Check for accessibility . Not everyone experiences the Web in the same way. People with poor vision, for example, will miss out on the beautiful, full- color banner and navigation buttons you've created. To help you build Web sites that don't shut out people with disabilities, Dreamweaver can check your Web site to make sure it conforms to Section 508 (a Federal regulation mandating that Web sites built by or for the Federal Government are accessible to those with disabilities ).
Some troubleshooting steps should come at the end of the process, when a page (or entire site) is ready to be moved to a Web server:
Check spelling on your pages . Amazingly, this simple step is often overlooked. As a result, it's easy to find otherwise professional-looking Web pages on the Internet that are undermined by sloppy spelling. To learn how to use Dreamweaver's built-in spell checker, see Section 2.4.
Check your links . As the name indicates, a Web site can be a complex and twisted collection of interconnected files. Web pages, graphics, Flash movies, and other types of files all work together. Unfortunately, if one file is moved or deleted, problems can ripple through the entire site. Use Dreamweaver's Check Links command to identify and fix broken links (see Section 14.4).
Run site reports . It's always the little things. When building a Web site, small errors inevitably creep into your pages. While not necessarily life- threatening , forgetting to title a Web page or to add an Alt property to an image does diminish the quality and professionalism of a site. Use Dreamweaver's site-reporting feature to quickly identify these problems (see Section 14.6).