CSS Background Properties:
Property Description Values IE F N
background A shorthand property for background-color 4 1 6
setting all background background-image
properties in one background-repeat
declaration background-
attachment
background-position
background- Sets whether a scroll 4 1 6
attachment background image is fixed
fixed or scrolls with the
rest of the page
background-color Sets the background color-rgb 4 1 4
color of an element color-hex
color-name
transparent
background-image Sets an image as the url(URL) 4 1 4
background none
background-position Sets the starting top left 4 1 6
position of a background top center
image top right
center left
center center
center right
bottom left
bottom center
bottom right
x% y%
xpos ypos
background-repeat Sets if/how a repeat 4 1 4
background image will repeat-x
be repeated repeat-y
no-repeat
CSS Text Properties
Property Description Values IE F N
color Sets the color of a text color 3 1 4
direction Sets the text direction ltr 6 1 6
rtl
line-height Sets the distance normal 4 1 4
between lines number
length
%
letter-spacing Increase or decrease the normal 4 1 6
space between length
characters
text-align Aligns the text in an left 4 1 4
element right
center
justify
text-decoration Adds decoration to text none 4 1 4
underline
overline
line-through
blink
text-indent Indents the first line of length 4 1 4
text in an element %
text-shadow none
color
length
text-transform Controls the letters in an none 4 1 4
element capitalize
uppercase
lowercase
unicode-bidi normal 5
embed
bidi-override
white-space Sets how white space normal 5 1 4
inside an element is pre
handled nowrap
word-spacing Increase or decrease the normal 6 1 6
space between words length
CSS Font Properties
Property Description Values IE F N
font A shorthand property for font-style 4 1 4
setting all of the font-variant
properties for a font in font-weight
one declaration font-size/line-height
font-family
caption
icon
menu
message-box
small-caption
status-bar
font-family A prioritized list of font family-name 3 1 4
family names and/or generic-family
generic family names for
an element
font-size Sets the size of a font xx-small 3 1 4
x-small
small
medium
large
x-large
xx-large
smaller
larger
length
%
font-size-adjust Specifies an aspect none - - -
value for an element number
that will preserve the x-
height of the first-choice
font
font-stretch Condenses or expands normal - - -
the current font-family wider
narrower
ultra-condensed
extra-condensed
condensed
semi-condensed
semi-expanded
expanded
extra-expanded
ultra-expanded
font-style Sets the style of the font normal 4 1 4
italic
oblique
font-variant Displays text in a small- normal 4 1 6
caps font or a normal small-caps
font
font-weight Sets the weight of a font normal 4 1 4
bold
bolder
lighter
100
200
300
400
500
600
700
800
900
CSS Border Properties
Property Description Values IE F N
border A shorthand property for border-width 4 1 4
setting all of the border-style
properties for the four border-color
borders in one
declaration
border-bottom A shorthand property for border-bottom- 4 1 6
setting all of the width
properties for the border-style
bottom border in one border-color
declaration
border-bottom-color Sets the color of the border-color 4 1 6
bottom border
border-bottom-style Sets the style of the border-style 4 1 6
bottom border
border-bottom-width Sets the width of the thin 4 1 4
bottom border medium
thick
length
border-color Sets the color of the four color 4 1 6
borders, can have from
one to four colors
border-left A shorthand property for border-left-width 4 1 6
setting all of the border-style
properties for the left border-color
border in one
declaration
border-left-color Sets the color of the left border-color 4 1 6
border
border-left-style Sets the style of the left border-style 4 1 6
border
border-left-width Sets the width of the left thin 4 1 4
border medium
thick
length
border-right A shorthand property for border-right-width 4 1 6
setting all of the border-style
properties for the right border-color
border in one
declaration
border-right-color Sets the color of the border-color 4 1 6
right border
border-right-style Sets the style of the border-style 4 1 6
right border
border-right-width Sets the width of the thin 4 1 4
right border medium
thick
length
border-style Sets the style of the four none 4 1 6
borders, can have from hidden
one to four styles dotted
dashed
solid
double
groove
ridge
inset
outset
border-top A shorthand property for border-top-width 4 1 6
setting all of the border-style
properties for the top border-color
border in one
declaration
border-top-color Sets the color of the top border-color 4 1 6
border
border-top-style Sets the style of the top border-style 4 1 6
border
border-top-width Sets the width of the top thin 4 1 4
border medium
thick
length
border-width A shorthand property for thin 4 1 4
setting the width of the medium
four borders in one thick
declaration, can have length
from one to four values
CSS Outline Properties
Property Description Values IE F N W3C
outline A shorthand property for outline-color - 1. - 2
setting all the outline outline-style 5
properties in one outline-width
declaration
outline-color Sets the color of the color - 1. - 2
outline around an invert 5
element
outline-style Sets the style of the none - 1. - 2
outline around an dotted 5
element dashed
solid
double
groove
ridge
inset
outset
outline-width Sets the width of the thin - 1. - 2
outline around an medium 5
element thick
length
CSS Margin Properties
Property Description Values IE F N W3C
margin A shorthand property for margin-top 4 1 4 1
setting the margin margin-right
properties in one margin-bottom
declaration margin-left
margin-bottom Sets the bottom margin auto 4 1 4 1
of an element length
%
margin-left Sets the left margin of auto 3 1 4 1
an element length
%
margin-right Sets the right margin of auto 3 1 4 1
an element length
%
margin-top Sets the top margin of auto 3 1 4 1
an element length
%
CSS Padding Properties
Property Description Values IE F N W3C
padding A shorthand property for padding-top 4 1 4 1
setting all of the padding-right
padding properties in padding-bottom
one declaration padding-left
padding-bottom Sets the bottom padding length 4 1 4 1
of an element %
padding-left Sets the left padding of length 4 1 4 1
an element %
padding-right Sets the right padding of length 4 1 4 1
an element %
padding-top Sets the top padding of length 4 1 4 1
an element %
CSS List Properties
Property Description Values IE F N W3C
list-style A shorthand property for list-style-type 4 1 6 1
setting all of the list-style-position
properties for a list in list-style-image
one declaration
list-style-image Sets an image as the none 4 1 6 1
list-item marker url
list-style-position Sets where the list-item inside 4 1 6 1
marker is placed in the outside
list
list-style-type Sets the type of the list- none 4 1 4 1
item marker disc
circle
square
decimal
decimal-leading-
zero
lower-roman
upper-roman
lower-alpha
upper-alpha
lower-greek
lower-latin
upper-latin
hebrew
armenian
georgian
cjk-ideographic
hiragana
katakana
hiragana-iroha
katakana-iroha
marker-offset auto 1 7 2
length
CSS Table Properties
Property Description Values IE F N W3C
border-collapse Sets whether the table collapse 5 1 7 2
borders are collapsed separate
into a single border or
detached as in standard
HTML
border-spacing Sets the distance that length length 5M 1 6 2
separates cell borders
(only for the "separated
borders" model)
caption-side Sets the position of the top 5M 1 6 2
table caption bottom
left
right
empty-cells Sets whether or not to show 5M 1 6 2
show empty cells in a hide
table (only for the
"separated borders"
model)
table-layout Sets the algorithm used auto 5 1 6 2
to display the table fixed
cells, rows, and columns
CSS Dimension Properties
Property Description Values IE F N W3C
height Sets the height of an auto 4 1 6 1
element length
%
line-height Sets the distance normal 4 1 4 1
between lines number
length
%
max-height Sets the maximum none - 1 6 2
height of an element length
%
max-width Sets the maximum none - 1 6 2
width of an element length
%
min-height Sets the minimum length - 1 6 2
height of an element %
min-width Sets the minimum width length - 1 6 2
of an element %
width Sets the width of an auto 4 1 4 1
element %
length
CSS Classification Properties
Property Description Values IE F N W3C
clear Sets the sides of an left 4 1 4 1
element where other right
floating elements are both
not allowed none
cursor Specifies the type of url 4 1 6 2
cursor to be displayed auto
crosshair
default
pointer
move
e-resize
ne-resize
nw-resize
n-resize
se-resize
sw-resize
s-resize
w-resize
text
wait
help
display Sets how/if an element none 4 1 4 1
is displayed inline
block
list-item
run-in
compact
marker
table
inline-table
table-row-group
table-header-group
table-footer-group
table-row
table-column-group
table-column
table-cell
table-caption
float Sets where an image or left 4 1 4 1
a text will appear in right
another element none
position Places an element in a static 4 1 4 2
static, relative, absolute relative
or fixed position absolute
fixed
visibility Sets if an element visible 4 1 6 2
should be visible or hidden
invisible collapse
CSS Positioning Properties
Property Description Values IE F N W3C
bottom Sets how far the bottom auto 5 1 6 2
edge of an element is %
above/below the bottom length
edge of the parent
element
clip Sets the shape of an shape 4 1 6 2
element. The element is auto
clipped into this shape,
and displayed
left Sets how far the left auto 4 1 4 2
edge of an element is to %
the right/left of the left length
edge of the parent
element
overflow Sets what happens if the visible 4 1 6 2
content of an element hidden
overflow its area scroll
auto
position Places an element in a static 4 1 4 2
static, relative, absolute relative
or fixed position absolute
fixed
right Sets how far the right auto 5 1 6 2
edge of an element is to %
the left/right of the right length
edge of the parent
element
top Sets how far the top auto 4 1 4 2
edge of an element is %
above/below the top length
edge of the parent
element
vertical-align Sets the vertical baseline 4 1 4 1
alignment of an element sub
super
top
text-top
middle
bottom
text-bottom
length
%
z-index Sets the stack order of auto 4 1 6 2
an element number
Pseudo properties
Pseudo-element Purpose IE F N W3C
:first-letter Adds special style to the first letter of a text 5 1 8 1
:first-line Adds special style to the first line of a text 5 1 8 1
:before Inserts some content before the content of an 1. 8 2
element 5
:after Inserts some content after the content of an 1. 8 2
element 5