Professional Documents
Culture Documents
Syntax
width
Internal Style
<style type=text/css>
selector {property: value}
</style>
border
margin
padding
height; width;
margin-top;
margin-right;
margin-bottom;
margin-left;
padding-top;
padding-right;
padding-bottom;
padding-left;
Inline Style
background
border
border-bottom
border-left
border-right
border-top
font
list-style
margin
padding
Border
General
String preceded by a full stop [.]
ID
div
span
Inline formatting
color
Foreground colour
cursor
display
left
overflow
top
visible, hidden
position
z-index
Font
font-style italic, normal
fontnormal, small-caps
variant
fontweight
font-size
Position
clear
float
text-indent
texttransform
vertical-align
word-spacing
backgroundattachment
backgroundposition
List
list-styletype
list-styleposition
list-styleimage
all
braille
embossed
handheld
print
projection
screen
speech
tty
tv
Units
letter-spacing
line-height
text-align
textdecoration
:hover
:active
:focus
:link
:visited
:first-line
:first-letter
Media Types
Text
Vertical alignment
Spacing between words
Pseudo
Selectors
Background
Comments
/* Comments */
class
visibility
Shorthand
Length
%
em
pt
px
Keywords
bolder
lighter
larger