2. Select the custom style from the Styles list in the Property inspector for class styles or from the ID
list for ID selectors, if available. Dreamweaver applies the custom style either by setting the
class or id attribute of the selected tag to the custom style. If you select only text and not an
enclosing tag, Dreamweaver wraps a
tag around the selection.
The second approach is to use the menus to apply a style to your pages. Follow these steps:
1. Highlight the text to which you??™re applying the style, either by using the Tag Selector or by using
the mouse.
2. Choose Text ??? CSS Styles ??? Your Style. The same dynamic CSS Styles list is maintained in the
context menu, accessible through a right-click (Control+click) on the selected text.
TIPTIP
223
Building Style Sheet Web Pages 7
The third approach is to use the Tag Selector exclusively. Right-click (Control+click) the selected tag name
in the Tag Selector and choose the style from either the Class or ID submenus.
Finally, you can use the CSS Styles panel itself to apply a style:
1. Select the tag or text to which you want to apply your style.
2. In the CSS Styles panel, right-click (Control+click) the style and choose Apply from the context
menu.
Dreamweaver supports multiple classes for rendering purposes, but there is no method except
hand-coding to apply more than one class to a tag.
Pages:
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489