This behavior
enables the style of each phrase to be altered more easily.
Although the use of the
tag is unavoidable under some circumstances, you should be
careful not to overuse it. It??™s far better to apply a logical tag that makes sense in the context, such
as (emphasis) or , and then create a CSS style that formats those tags for the look you want.
Removing applied styles
Getting rid of an applied style is just as easy as changing it. Now, just position your cursor anywhere in the
stylized text and select None from the Styles list. Dreamweaver also removes the no-longer??“needed class
attribute for all but the tag. If you remove the class from a selection marked by tags,
Dreamweaver deletes the surrounding tags.
Be sure your cursor is positioned within styled text and not selecting any. Selecting None from
the Styles list on the Property inspector when just text??”not tags??”is highlighted forces
Dreamweaver to remove the style from the tag and apply it to tags on either side of the now
unstyled text.
Styles can also be removed through the Tag Selector??”just right-click (Control+click) any styled tag on the
Tag Selector and choose Set Class ??? None.
NOTE NOTE
CAUTION CAUTION
NOTE NOTE
224
Designing and Crafting Core Pages Part II
225
Building Style Sheet Web Pages 7
In this Technique, you attach an existing style sheet to a page and assign styles to various page elements.
Pages:
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491