CSS Selector { property:value } |
| XHTML Elements | CSS Properties |
| Body { } | color, background-color (transparent)
background-image (url) |
| H1...H6 { } | text-align:left
|
| P { } | text-indent:.05in; |
A:link { } A:active { } A:visited{ } | Color, text-decoration, hover |
| Text Specific Style Attributes |
| Font-family{ } | Serif, Sanserif, Cursive, Fancy, Monospace |
| Font-size{ } | Points, Inches, Centimeters, Pixels, Percentage |
| Font-style{ } | Normal, Italic, Oblique, |
| Font-weight{ } | light, bold, extra-bold, 100-900(values indicate thickness)400-normal, 900-bolder |
| Margin { } | margin-left, margin-right, margin-top, margin-bottom;pixels, inches, points, centimeters |
| Text-indent{ } | Points, Inches, Centimeters, Pixels, |
| Text-align{ } | left, center, right, justify |
| Text-decoration{ } | none, underline, blink, overline |
| Text-indent{ } | inches or percent |