Property Quick Reference

background:

background-color
background-image
background-repeat
background-attachment
background-position

N4, IE4; short-hand for other background properties

background-color:

#rrggbb or red, white, blue, etc.

N4, IE4; gives an element a background color

background-image:

url(' ')

N4, IE4; provides the url of an image

background-repeat:

repeat, repeat-x, repeat-y, no-repeat

N4, IE4; how the background image will repeat

background-attachment:

scroll, fixed

IE4; how the background image moves relative to the page

background-position:

center, left, right, top, bottom, or X,Y or X%, Y%

IE4; the position of the background image

border-color:

color

N4; the color of the border

border-width:

X (where X is some integer)

N4; the width of the border

border-width-top:

X

N4; the width of the top border

border-width-right:

X

N4; the width of the right border

border-width-bottom:

X

N4; the width of the bottom border

border-width-left:

X

N4; the width of the left border

border-style:

dashed, dotted, double, groove, inset, ridge, solid, outset

N4; the style of the border

clear:

none, left, right, or both

N4, IE4; clears the space surrounding an image

color:

color

N4, IE4; the color of the text

display:

none, block, inline, or list-item

N4, IE4; how to display an element

float:

none, left, right

IE4; how text floats around an image

font-family:

sans-serif, fantasy, serif, cursive, monospace or specific font

N4, IE4; the font type

font-size:

X or X%

N4, IE4; the font size

font-style:

normal, italic, oblique

N4, IE4; the font style

font-variant:

normal, small-caps

IE4; displays text in small-caps or normal

font-weight:

normal, bold, bolder, lighter

N4, IE4; the font style

left:

X or X%

N4, IE4; the position of an element

letter-spacing:

normal or X

IE4; the amount of space between letters

line-height:

normal, X, or X%

N4, IE4; the height of a line

margin:

top-value, right-value, bottom-value, left-value

N4, IE4; the margin surrounding an element

padding:

top-value, right-value, bottom-value, left-value

N4, IE4; the padding surrounding an element

padding-top:

X

N4, IE4; the padding surrounding the top of an element

padding-right:

X

N4, IE4; the padding surrounding the right of an element

padding-bottom:

X

N4, IE4; the padding surrounding the bottom of an element

padding-left:

X

N4, IE4; the padding surrounding the left of an element

position:

static, relative, absolute, fixed

N4, IE4; the position type of an element

text-align:

left, right, center, justify

N4, IE4; how to align the text

text-decoration:

none, underline, overline, line-through, blink

N4, IE4; how to decorate the text

text-indent:

X or X%

N4, IE4; the amount to indent the text

text-transform:

capitalize, uppercase, lowercase, none

N4, IE4; how to transform the text

top:

X or X%

N4, IE4; the position of an element

visibility:

visible, hidden, collapse, inherit

IE4; the visibility of an element

white-space:

normal, pre, nowrap

N4; how to display white space

z-index:

X

N4, IE4; when elements overlap, the element with the higher index is displayed

Lucid