Skip to Main Content
Adobe® Dreamweaver® CS4 Bible
book

Adobe® Dreamweaver® CS4 Bible

by Joseph Lowery
March 2009
Beginner to intermediate content levelBeginner to intermediate
1321 pages
46h 24m
English
Wiley
Content preview from Adobe® Dreamweaver® CS4 Bible
223
Accessing the Code Directly
6
Style
—Enter the class attribute in almost any tag, and you see a complete list of available
CSS styles defined for the current page. Other CSS controls, such as Edit Style Sheet and
Attach Style Sheet, are also available.
File
—Should an attribute require a filename, Dreamweaver opens the standard Select File
dialog box to enable you to easily locate a file or choose a data source.
Code Hints aren’t just for entering new tags; you can take advantage of their prompting when modi-
fying existing code as well. To add an attribute, place your cursor just before the closing bracket and
press the spacebar to trigger the Code Hints pop-up menu. To change an entered value, delete both
the value and the surrounding quotes; the pop-up options appear after the opening quote is entered.
Modifying blocks of code
When it comes to coding, mindless repetition is one big time-killer. Quite often, you repeat the same
function—like converting all the tags to lowercase—for a section of your code. These types of pro-
cedures quickly become tedious, and performing them one at a time is grossly inefficient. For com-
monly performed operations, Dreamweaver has a far better way.
The Selection menu is activated in Dreamweaver’s shortcut menu whenever a section of code is high-
lighted. Twenty-seven varied, but extremely useful, functions are available, as shown in Figure 6
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Adobe® Dreamweaver® CS5 Bible

Adobe® Dreamweaver® CS5 Bible

Joseph W. Lowery
Dreamweaver® CS3 Bible

Dreamweaver® CS3 Bible

Joseph W. Lowery

Publisher Resources

ISBN: 9780470382523Purchase book