CSS Properties
For the most part, the Dreamweaver's CSS Rule Definition window lists CSS properties using nearly the same language as the actual property names; the color property, for example, is listed in the Type category as Color. But sometimes Dreamweaver uses very different names for CSS properties. Table B-1 shows each category of the CSS Rule Definition window, and lists the actual CSS property name and a page reference where you can learn more about the property. In addition, Appendix A contains a complete list of CSS 2.1 properties.
Table B-1. Dreamweaver property names and their CSS equivalents
|
Dreamweaver Property Name |
Actual CSS Property Name | |
|---|---|---|
|
Category: Type | ||
|
Font |
font-family (Section 6.1.1) | |
|
Size |
font-size (Section 6.2) | |
|
Weight |
font-Weight (Section 6.3.2) | |
|
Style |
font-Style (Section 6.3.2) | |
|
Variant |
font-Variant (Section 6.3.2.1) | |
|
Line height |
line height (Section 6.4) | |
|
Case |
text-transform (Section 6.3.2) | |
|
Decoration (underline, overline, line-through, blink, none) |
text-decoration (Section 6.3.2.1) | |
|
Color |
color (Section 6.1.2) | |
|
Category: Background | ||
|
Background color |
background-color (Section 7.4) | |
|
Background image |
background-image (Section 8.2) | |
|
Repeat |
background-repeat (Section 8.3) | |
|
Attachment |
background-attachment (Section 8.4.4) | |
|
Horizontal position/Vertical position |
background-position (Section 8.4) | |
|
Category: Block | ||
|
Word spacing |
word-spacing (Section 6.3.4) | |
|
Letter spacing |
letter-spacing (Section 6.3.4 ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access