![MACROMEDIA DREAMWEAVER 8-GETTING STARTED WITH... Getting Started Download Page 103](http://html1.mh-extra.com/html/macromedia/dreamweaver-8-getting-started-with/dreamweaver-8-getting-started-with_getting-started_3331098103.webp)
Learn about CSS 103
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
color
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
p
or
h1
. When you create or change a CSS rule for the
h1
tag, all text
formatted with the
h1
tag is immediately updated.
■
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
td h2
applies whenever an
h2
header appears inside a table cell.) Advanced styles can also redefine
the formatting for tags that contain a specific
id
attribute (for example,
the styles defined by
#myStyle
apply to all tags that contain the
attribute-value pair
id="myStyle"
).
For more information, see “About text formatting in Dreamweaver” in
Using Dreamweaver
.
Summary of Contents for DREAMWEAVER 8-GETTING STARTED WITH...
Page 1: ...Getting Started with Dreamweaver...
Page 8: ...8 Contents...
Page 10: ......
Page 46: ...46 Dreamweaver Basics...
Page 48: ......
Page 128: ...128 Tutorial Formatting Your Page with CSS...
Page 136: ...136 Tutorial Publishing Your Site...
Page 138: ......
Page 189: ...Add a Repeat Region XSLT object 189 3 Select Insert XSLT Objects Repeat Region...
Page 196: ...196 Tutorial Displaying XML Data...
Page 216: ......
Page 230: ...230 Understanding Web Applications...
Page 236: ...236 Installing a Web Server...
Page 254: ...254 Setup for Sample ColdFusion Site...
Page 268: ...268 Setup for Sample ASP NET Site...
Page 284: ...284 Setup for Sample ASP Site...
Page 300: ...300 Setup for Sample JSP Site...
Page 320: ...320 Setup for Sample PHP Site...