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
756
Part IV
Incorporating Dynamic Data
16. Place your cursor in the cell under the Office Phone label, choose agentPhone from the Bindings
panel, and click Insert.
17. Place your cursor in the cell under the Cell Phone label, choose agentCell from the Bindings
panel, and click Insert.
18. Choose View  ➪ Live Data to test your operation.
19. Choose View  ➪ Live Data again to disable Live Data view, and save your page.
In the next Technique, you add a dynamic image to the page along with some server-side
formatting.
Formatting Dynamic Data
After a field has been incorporated into a page, it acts just like any other text within a tag. Dynamic
text can be formatted with either HTML tags—such as
<h2>, <strong>, or <span>—or styled with
Cascading Style Sheets (CSS). The easiest method is simply to replace the static placeholder text,
styled as your layout demands, with the dynamic text. The tags and CSS surrounding any dynamic
text can be altered at any time.
It’s also possible to include HTML tags in the stored data. When the data is included in
the page, the browser interprets the HTML normally. For example, you can have a memo
field in an Access database (for data containing more than 255 characters) with italic tags (<i>) sur-
rounding key phrases. This is perfectly acceptable to Access—which sees the tags as just text—and also
perfectly acceptable to Dreamweaver.
Data format ...
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