BESTPROOFINGSERVICE.COM

foundation damp proofing - www.bestproofingservice.com

Menu


Dreamweaver gives you a number of ways to check the soundness and integrity of your pages before you publish them. You can see where


certain browsers are likely to choke. You can clean up the code to standards-police standards. You can find and fix broken links, and you can locate stranded files and either use them or lose them. This section shows you how. 19.3.1. Running a Browser Check You know from experience that different web browsers interpret the same web code differently. Many times, these differences are benign, if somewhat aggravating. Other times, they can cause problems. A browser check calls attention to these peculiarities specifically as they relate to your site. It scans your pages and flags the bits and pieces of code that a particular browser doesn't like. TECHTALK A browser check scans your pages and flags the code that a particular browser doesn't like.     19.3.2. Choosing target browsers The target browsers are the browsers against which you're checking the code of your site. You don't need to have these browsers installed on your computer. Dreamweaver has a built-in browser-check database. TECHTALK Target browsers are the browsers against which you check the code of your site.   To select target browsers, open any page of your site, and click the Target Browser button at the top of the document window. Choose Settings from the menu that appears in Figure 19-9, and Dreamweaver opens the Target Browsers dialog box shown in Figure 19-10. Select the make and model of the browsers that you want to use as your targets, and click OK. Figure 19-9. Choosing Settings from the Target Browser menu   Figure 19-10. Choosing target browsers and minimum versions   TIP The perfectly coded web page that passes inspection in all browsers is exceedingly rare in this time-space continuum, and such a page isn't usually much to look at anyway. For most pages, the more target browsers you check, the more likely you'll run into situations where fixing a coding faux pas in one browser creates a coding faux pas in another browser. You're better off limiting the target browsers to those that your visitors are most likely to use.     19.3.3. Running the check By default, Dreamweaver runs a browser check whenever you open a document window. To see the results of the check, click the Browser Check button and choose Show All Errors from the menu. Dreamweaver opens the Results panel along the bottom of the workspace. You can increase the size of the panel by dragging the bottom border of the document window toward the top of the workspace, as Figure 19-11 shows. Figure 19-11. Increasing the size of the Results panel   HOTKEY Press F7 to toggle the Results panel.   Look specifically for the red caution icons in the list and note which browsers Dreamweaver predicts will experience the problems. On this web page, Dreamweaver identifies Opera, Netscape, and Firefox in each case. To see what specifically