
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 ...