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

Joseph W. Lowery

"Dreamweaver CS3 Bible"


The cascading aspect of style sheets also works on a larger scale. One of the key features of CSS is the capability
to define external style sheets that can be linked to individual Web pages, acting on their overall look
and feel. Indeed, you can use the cascading behavior to fine-tune the overall Web-site style based on a particular
page or range of pages. Your company may, for instance, define an external style sheet for the entire
TIP TIP
211
Building Style Sheet Web Pages 7
company intranet; each division could then build upon that overall model for its individual Web pages. For
example, suppose that the company style sheet dictates that all

headings are in Arial and black. One
department could output its Web pages with

tags in Arial, but colored red rather than black, whereas
another department could make them blue.
Dreamweaver has a great learning tool built in to help you understand inheritance and cascading:
the Relevant CSS tab of the Tag inspector. Select any tag and you can see what CSS rules
are being applied to the selection; rules that are applied, but not taking effect because of inheritance or
cascading properties are marked with a red strikethrough. This feature is explained in greater detail later in
this chapter.


Pages:
442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466