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
1212
Part VII
Extending Dreamweaver
3. Create a new HTML page.
4. Enter the text Hello World!.
5. From the Property inspector HTML tab, select Heading 1 from the Format list.
6. Save your page.
Now you’re ready to see how your incredibly sophisticated Web application looks in AIR.
7. Choose File ➪ Preview in Browser ➪ Preview in AIR.
The AIR window opens instantly with the text rendered appropriately, as shown in Fig-
ure 35-3. Because no CSS formatting was applied and Dreamweaver and AIR have different
defaults, the fonts in Dreamweaver and AIR may not look alike. Let’s add some specific
styles to address that issue.
FIGURE 35-3
Previewing your AIR application is immediate.
8. Close the AIR preview window and return to Dreamweaver.
9. Let’s make sure your AIR application has a title and enter AIR 01 in the Title field of the
Document toolbar. Press Enter (Return).
10. Place your cursor anywhere in the h1 tag.
11. In the Property inspector CSS tab, make sure Targeted Rule is set to <New CSS Rule> and
set Font to Palatino Linotype, Book Antiqua, Palatino, Serif.
As you can see in the AIR preview shown in Figure 35-3, if you don’t specify a style, you
risk unexpected results. It’s best to specify everything in CSS for your AIR app.
82523c35.indd 1212 2/18/09 1:41:18 PM
1213
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