The next list includes only those CSS properties and values that work in all the major browsers.
Commom |
Inherited |
Applies to all elements and box models |
|
default value |
possible values |
||
display: | inline | none, block, inline-block, list-itme, table-cell, table, table-row | |
visibility: | yes | visible | hidden |
background-color: | transparent | COLOR | |
background-image: | none | url(“file.jpg”) | |
background-attachment: | scroll | fixed | |
background-position: | 0% 0% | H% V%, H V, left top, left center, left bottom, right top, right center, right bottom, center top, center center, center bottom | |
border: | WIDTH STYLE COLOR | ||
border-width: | medium | LENGTH, thin, thick | |
border-style: | none | hidden,dotted, dashed, solid, double, groove, ridge, inset, outset | |
border-color: | black | COLOR | |
border-left: | WIDTH STYLE COLOR | ||
border-left-width: | same as border-width | ||
border-left-style: | same as border-style | ||
border-left-color: | same as border-color | ||
border-right: | WIDTH STYLE COLOR | ||
border-right-width: | same as border-width | ||
border-right-style: | same as border-style | ||
border-right-color: | same as border-color | ||
border-top: | WIDTH STYLE COLOR | ||
border-top-width: | same as border-width | ||
border-top-style: | same as border-style | ||
border-top-color: | same as border-color | ||
border-bottom: | WIDTH STYLE COLOR | ||
border-bottom-width: | same as border-width | ||
border-bottom-style: | same as border-style | ||
border-bottom-color: | same as border-color | ||
cursor: | yes | auto | default, pointer, help, wait, progress, move, crosshair, text,n-resize,s-resize,e-resize,w-resize |