The term cascading refers to your ability to apply multiple styles to the
same element or web page. For example, you can create one CSS rule to
apply color and another rule to apply margins, and apply them both to the
same text on a page. The defined styles "cascade" to the elements on your
web page, ultimately creating the design you want.
A major advantage of CSS is that it can be updated easily; when you
update a CSS rule in one place, the formatting of all of the documents that
use the defined style are automatically updated to the new style.
You can define the following types of rules in Dreamweaver:
Custom CSS rules, also called class styles, let you apply style attributes
to any range or block of text. All class styles begin with a period (.). For
example, you could create a class style called .red, set the
property of the rule to red, and apply the style to a portion of already-
styled paragraph text.
HTML tag rules redefine the formatting for a particular tag, such as
or
. When you create or change a CSS rule for the
h1
formatted with the
CSS selector rules (advanced styles) redefine the formatting for a
particular combination of elements, or for other selector forms as
allowed by CSS (for example, the selector
header appears inside a table cell.) Advanced styles can also redefine
h2
the formatting for tags that contain a specific
the styles defined by
attribute-value pair
For more information, see "About text formatting in Dreamweaver" in
Using Dreamweaver.
tag is immediately updated.
h1
apply to all tags that contain the
#myStyle
).
id="myStyle"
color
tag, all text
h1
applies whenever an
td h2
attribute (for example,
id
p
Learn about CSS 103
Need help?
Do you have a question about the DREAMWEAVER 8-GETTING STARTED WITH DREAMWEAVER and is the answer not in the manual?