Apply styles to the XML data

Apply styles to the XML data

Now you’ll apply styles to the item and description XML data placeholders. When you apply styles to an XML data placeholder, the text of the placeholder itself displays the styles. Later, when you preview the page in a browser, the resulting XML data will also display the assigned styles.

  1. Click once in the left table cell, and click the rightmost <td> tag in the tag selector to select the cell.

    This is a picture of the feature being described.

    You are selecting the cell so that you can format the entire contents of the cell at once, including the hyphen.

  2. In the Property inspector, select menu from the list of class styles in the Style pop-up menu.
  3. Click once inside the left table cell to deselect it.
  4. Click once on the item XML data placeholder to select it.
  5. In the Property inspector, click the Italic button.

    This is a picture of the feature being described.

  6. Save the page, and then preview your work in a browser by pressing F12 (Windows) or Option+F12 (Macintosh).

For more information about applying styles to XML data, see Applying styles to XSLT fragments in Using Dreamweaver (Help > Using Dreamweaver).



Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly