Tải bản đầy đủ (.pdf) (7 trang)

adobe dreamweaver cs5 on demand part 20 pot

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (703.4 KB, 7 trang )

ptg
122 Chapter 5
The results of performing a Find All and Replace All search in the Find
and Replace dialog box appear within the Results window under the
Search tab. The search results remain there until the next time you per-
form a Find All or Replace All. You can access the search results by
opening the Results panel. Within the Results panel, you can quickly
highlight a specific result, open the Find and Replace dialog box, stop a
search in progress, and save the search results in the XML.
Using the Results
Panel
Use the Results Panel
Open the Web page you want to
find and replace text.
Click the Window menu, and then
click Results to open the Results
panel.
The list of pages containing the
previous search results opens in
the Results panel at the bottom of
the Dreamweaver window.
Click the Search tab if necessary.
Choose from the following Find
and Replace options:
◆ Highlight Selection. Double-
click a selection from the
Results panel to open the file if
necessary and highlight the
selection in the document.
◆ Find and Replace. Click to open
the Find and Replace dialog


box.
◆ Stop. Click to stop a search in
progress.
◆ Save Report. Click to save the
search results as a report in
the XML file format.
Click the Window menu, and then
click Results to close the Results
panel.
5
4
3
2
1
2
3
Highlight selection
Save Report
Find and Replace
Stop
Results panel
Selected item in Design
view and Results panel
From the Library of Wow! eBook
ptg
Chapter 5 Working with Web Page Text 123
If your Web page contains acronyms, such as MADD for Mothers
Against Drunk Driving, and abbreviations, such as CE for Copy Editor,
you can define them using HTML tags for use with search engines,
spell checkers, language translation programs, or speech

synthesizers.
Defining Acronyms
and Abbreviations
Define Acronyms and
Abbreviations
Open the Web page you want to
define an acronym or abbreviation.
Select the acronym or
abbreviation in the text.
Click the Insert menu, point to
HTML, point to Text Objects, and
then click Acronym or
Abbreviation.
Enter the full text of the acronym
or abbreviation.
Enter the language you want, such
as en for English, it for Italian, or
de for German.
Click OK.
6
5
4
3
2
1
21 3
4
5
6
From the Library of Wow! eBook

ptg
124 Chapter 5
One of the worst things that you can do (well, almost one of the worst)
is to have misspelled words on your Web page. Not only do they dis-
tract the reader, they distract from the overall impression of profession-
alism that you're trying to imply. Besides, since everyone on the planet
knows there's something called a spellchecker there's simply no
excuse for misspelled words. Fortunately, Dreamweaver includes a
simple spellchecker to help avoid such awkward moments. You should
always spell check a Web page before it's moved online. One other fine
point: Using a spellchecker does not mean that the words are used cor-
rectly. For example, to, too, and two, are all spelled correctly; however,
they have very different meanings. So, the order of events follows:
Spell Check first; then read the text (called type editing), and be sure
that it makes sense.
Checking Spelling
Check Spelling
Open the Web page you want to
spell check.
Click the Commands menu, and
then click Check Spelling.
TIMESAVER
Press Shift+F7 to
check spelling.
Dreamweaver begins the spell
check process and stops on the
first problem word.
Use the following options to work
with the problem word:
◆ Word Not Found In Dictionary.

Displays the offending word,
and highlights the word in the
Web page document.
◆ Change To. Type in the word
you want to use to substitute
for the offending word.
◆ Suggestions. Choose an option
from the listed suggestions.
◆ Add To Personal. Click to add
the offending word to
Dreamweaver's personal
dictionary. Excellent for names
or technical terms that are
spelled correctly, but keep
coming up as misspelled.
3
2
1
3
From the Library of Wow! eBook
ptg
Chapter 5 Working with Web Page Text 125
Choose from the following controls
to change the selection:
◆ Ignore. Ignore the word,
proceed to the next offending
word, and don't add the word
to the personal dictionary.
◆ Change. Change the word;
based on the text in the Change

To dialog box, or the
appropriate selected
suggestion.
◆ Ignore All. Ignore all
occurrences of the offending
word, but don't add to the
personal dictionary.
◆ Change All. Change all
occurrences of the offending
word.
Click Close to close the Check
Spelling dialog box, or click OK
when the spell check is
completed.
5
4
5
4
5
Did You Know?
You can spell check in more than
English.
Adobe uses the LILO
(Linguistic Library Optimized) speller
engine, which supports 37 different
dictionaries (New!). The default dic-
tionary matches the installed version of
Dreamweaver. Click the Edit (Win) or
Dreamweaver (Mac) menu, click
Preferences, click the General cate-

gory, click the Spelling dictionary list
arrow, select the dictionary language
you want, and then click OK. You can
download dictionaries for additional
languages from the Dreamweaver
Support Center. Click the Help menu,
and then click Dreamweaver Support
Center.
From the Library of Wow! eBook
ptg
126 Chapter 5
Probably one of the greatest inventions of the computer industry is the
ability to Undo, and Redo. Now, if we could just figure out how to give
real life an undo feature… that would be something. Dreamweaver
gives us the ability to undo our past mistakes, and redo something we
wished we had not removed. The History panel shows the actions
you've just taken in Dreamweaver, and enables you to undo or repeat
any number of steps. History gives us the ability to control our working
environment, and allows us to try creative ideas; knowing full well, that
if we make a mistake, it's a simple matter to go back in time. The
History panel is Dreamweaver's time machine.
Using Undo and Redo
Undo or Redo One Action
at a Time
◆ Click the Edit menu, and then click
Undo, or click the Undo button on
the Standard toolbar to reverse
your most recent action, such as
typing a word or formatting a
paragraph.

TIMESAVER
Press Ctrl+Z (Win)
or
A
+Z (Mac) to undo.
◆ Click the Edit menu, and then click
Redo, or click the Redo button on
the Standard toolbar to restore the
last action you reversed.
TIMESAVER
Press Ctrl+Y to
redo your undo.
Click to Undo or
Redo the previous
command or action.
Undo and Redo buttons
on the Standard toolbar
From the Library of Wow! eBook
ptg
Chapter 5 Working with Web Page Text 127
Undo or Redo Actions Using the
History Panel
Open a Web document, and
perform several actions (i.e. create
text, insert an image, etc).
Click the Window menu, and then
click History to open the History
panel.
TIMESAVER
Press Shift+F10 to

open the History panel.
You'll see a line-by-line listing of
all the steps performed to the
current Web document.
To perform a multip le undo, click
the arrow located to the left
History panel, and then drag it up
the list.
Every item listed under the arrow
will be undone.
NOTE
To pe rfo rm a mu lti ple redo,
click the arrow, and drag it down
the list. All items above the arrow
(including the item the arrow is
pointing) will be restored.
3
2
1
3
Did You Know?
You can change the number of History
Steps.
The default number of History
steps is 50; while that may seem
enough for most folks, you can change
the number of steps in Preferences.
Click the Edit (Win) or Dreamweaver
(Mac) menu, click Preferences, click
the General category, and then change

the number of steps. The maximum
value for history steps is 9,999… that's
a lot of steps. When you’re done, click
OK.
From the Library of Wow! eBook
ptg
128 Chapter 5
Setting Font
Preferences
Set Font Preferences
Click the Dreamweaver (Mac) or
Edit (Win) menu, and then click
Preferences.
Click the Fonts category.
Select the encoding type you want
to view.
Select from the following check
boxes:
◆ Proportional Font. Select the
font and size you want to use to
display normal text, such as
paragraphs, headings, and
tables.
◆ Fixed Font. Select the font and
size you want to use to display
text within pre, code, and tt
tags.
◆ Code View. Select the font and
size you want to use for all text
in Code view.

Select the Use Dynamic Font
Mapping check box.
Click OK.
6
5
4
3
2
1
You can use the Fonts section of the Preferences dialog box to view
encoding for the selected font and size you want. File encoding makes
sure your Web browser and Dreamweaver use the right character set
for the selected language. The fonts you select in the Preferences dia-
log box don’t affect the page display in a Web browser, however, it
does affect the page display in Dreamweaver. You can specify the font
and size you want to use in Code view, or as a proportional or fixed
font.
2
3
4
6
5
From the Library of Wow! eBook

×