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 486 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


For example, to style text within nested blockquotes, enter the following in the Advanced field of the New
Style dialog box:
blockquote blockquote
In essence, you are creating a custom style for a set of HTML tags used in your document. This type of CSS
selector acts like an HTML tag that has a CSS style applied to it; that is, all page elements fitting the criteria
are automatically styled. You can also combine custom styles with redefined HTML styles in a descendant
selector.
Other advanced selectors that you can enter in the Advanced field include:
n ID: An id selector is identified by a pound sign (like #footer) that can be assigned to any page
element using the same id attribute (for example,
).
n Child: Selects an element that is a direct child of another element. For example, in a div tag with
nested div elements, div > p selects the paragraphs in the outermost div tag only.
NOTE NOTE
TIPTIP
NOTE NOTE
228
Designing and Crafting Core Pages Part II
n Adjacent-sibling: Selects an element that immediately follows another. For example, in an
unordered list with two list items, li + li selects the second list item, but not the first.
n Universal: Selects any element. This selector may be used to skip one or more generations of
tags.


Pages:
474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498