2.4 Spell Checking
You spend a lot of time perfecting your Web pages, making sure the images look great,
that the text is properly formatted, and that everything aligns to make a beautiful visual presentation. But one step is often forgotten, especially given the hyperspeed development
process of the Web梞aking sure your Web pages are free from typos.
Spelling mistakes give an unprofessional impression and imply a lack of attention to
detail. Who wants to hire an "illustraightor" or "Web dezyner"? Dreamweaver's spell
checking feature can help you.
2.4.1 About Dictionaries
Before you start spell checking, you should make sure that the correct dictionary is
selected. Dreamweaver comes with fourteen dictionaries for eleven different languages,
plus three English variations and both Iberian and Brazilian Portuguese. When it
checks your spelling, the program compares the text in your document against the
list of words in one of these dictionaries.
To specify a dictionary, choose EditPreferences (DreamweaverPreferences in
Mac OS X)梠r press Ctrl+U (-U)梩o open the Preferences dialog box. Select the
General category, then choose a language from the Spelling Dictionary pop-up menu
at the bottom of the window.
2.4.2 Performing the Check
Once you've selected a dictionary, open the Web page whose spelling you wish to
check. You can check as much or as little text as you like, as follows:
Highlight the text (which can be even a single word).
If you want to check the entire document, make sure that nothing is selected in
the document window. (One good way to make sure nothing is selected is to click
in the middle of a paragraph of text.) Like spell checkers in other programs, you
must place the cursor at the beginning of the document to begin spell checking
from the top of the page.
Unfortunately, Dreamweaver doesn't offer a sitewide spell checking feature. You must check each
Choose TextCheck Spelling (or press Shift-F7).
The Check Spelling dialog box opens (see Figure 2-6). If the selected word is not
in Dreamweaver's dictionary, it appears in the top field of the box, along with a
list of suggested alternative spellings.
The first suggestion is listed in the Change To field.
If the Change To field is correct, click Change.
If Dreamweaver has correctly flagged the word as misspelled, but the correct spelling
isn't in the Change To field, double-click the correct spelling in the list. If the
correct spelling isn't in the list, type it yourself in the Change To box.
Then click the Change button to correct this one instance, or click Change All to
replace the misspelled word everywhere it appears in the document.
Dreamweaver makes the change and moves on to the next questionable spelling.
If the word is actually correctly spelled (but not in Dreamweaver's dictionary),
click Ignore, Ignore All, or Add to Personal.
If you want Dreamweaver to ignore this word every time it appears in the document,
rather than just this instance of it, click Ignore All.
On the other hand, you'll frequently use some words that Dreamweaver doesn't
have in its dictionaries. You may, for instance, use a client's name throughout your
Web pages. If that name isn't in Dreamweaver's dictionary, Dreamweaver will
consistently claim that it's a spelling error.
To teach Dreamweaver the client's name so that the Check Spelling dialog box
won't pop up each time you spell check, click Add To Personal. Dreamweaver
adds the word to your personal dictionary, which is a special dictionary file that
Dreamweaver also consults when checking your spelling.
After you click Ignore or Change, Dreamweaver moves on to the next word it
doesn't recognize. Begin again from step 3. If you didn't begin the spell check at the
beginning of the document, once Dreamweaver reaches the end of the document,
it will ask if you wish to continue spell checking from the beginning.
To end spell checking, click Close.
Dreamweaver's spell checking feature checks words only in
the document window. It can't check the spelling of comments,
Alt tags, or any text that appears in the head of the document.
Nor can you spell check an entire Web site's worth of pages
with a single command; you need to check each Web page