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 ... |
Get CSS: The Missing Manual now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.