SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 481 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


Finally, apply classes to the images to help the page flow.
1. Select the first image on the page.
2. From the Property inspector??™s Class list, choose .imageLeft.
continued
Applying External Style Sheet Styles
Defining new rules
Clicking the New CSS Rule button in the CSS Styles panel brings up a dialog box (see Figure 7-8) where you
specify the type of style you??™re defining. You can opt to create the new styles in an external style sheet, the
default, or in the current document. After you??™ve chosen the type of style, select the Define In This Document
Only option to create an embedded style. Any style sheets already linked to??”or imported into??”the current
document appear in the drop-down list along with the New Style Sheet File option. If you choose Define In
(New Style Sheet File), a standard file dialog box opens for you to name your new CSS file and select its path.
Dreamweaver attempts to help you choose your selector based on your current selection by
including the cascade of selectors in the Selectors field with the Advanced option chosen. For
example, if your cursor is in an tag within a paragraph with a class of .firstParagraph, which is
within a div named middle, which, in turn is inside another div named wrapper, the Selector field will be
prepopulated with:
#wrapper #middle .


Pages:
469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493