- CSS in one page
- CSS Properties and Values
- All CSS Properties Listed Alphabetically
- CSS Shorthand Guide
- GoSquared CSS Help Sheet
Source:
All The Cheat Sheets That A Web Developer Needs
Cheat Sheets, Code, Tutorials and just about any Web Development resource that can be snatched
Specificity is a type of weighting that has a bearing on how your cascading style sheet (CSS) rules are displayed.”
“All rules in your CSS carry a specificity rating regardless of selector type, although the weighting that is given to each selector type varies and will ultimately affect the styling of your web documents.”http://www.adobe.com/devnet/dreamweaver/articles/css_specificity.html

div and span elements to the markup.Trackback: http://www.crucialwebhost.com/blog/master-stylesheet-the-most-useful-css-technique/trackback/
The problem with Global Resets is that when set form buttons and fieldsets and a few other elements lose their original styling beyond recognition.
A better option is to individually style the elements that you want to reset. It also makes it easier to apply your own style to common elements.
Below is a basic master stylesheet that has some styling removed, such as color, removed to keep it simple and customizable.
The global classes at the bottom cover basic styling and will remove styling that was initially set. For example, the .nobullet and .noindent work great on an unordered or ordered list.
This is the place to add the classes that are commonly used.
/***** Global Settings *****/ html, body { border:0; margin:0; padding:0; } body { font:100%/1.25 Arial, Helvetica, sans-serif; } /***** Headings *****/ h1, h2, h3, h4, h5, h6 { margin:0; padding:0; font-weight:normal; } h1 { padding:30px 0 25px 0; letter-spacing:-1px; font-size:2em; } h2 { padding:20px 0; letter-spacing:-1px; font-size:1.5em; } h3 { font-size:1em; font-weight:bold; } /***** Common Formatting *****/ p, ul, ol { margin:0; padding:0 0 1.25em 0; } ul, ol { padding:0 0 1.25em 2.5em; } blockquote { margin:1.25em; padding:1.25em 1.25em 0 1.25em; } small { font-size:0.85em; } img { border:0; } sup { position:relative; bottom:0.3em; vertical-align:baseline; } sub { position:relative; bottom:-0.2em; vertical-align:baseline; } acronym, abbr { cursor:help; letter-spacing:1px; border-bottom:1px dashed; } /***** Links *****/ a, a:link, a:visited, a:hover { text-decoration:underline; } /***** Forms *****/ form { margin:0; padding:0; display:inline; } input, select, textarea { font:1em Arial, Helvetica, sans-serif; } textarea { width:100%; line-height:1.25; } label { cursor:pointer; } /***** Tables *****/ table { border:0; margin:0 0 1.25em 0; padding:0; } table tr td { padding:2px; } /***** Wrapper *****/ #wrap { width:960px; margin:0 auto; } /***** Global Classes *****/ .clear { clear:both; } .float-left { float:left; } .float-right { float:right; } .text-left { text-align:left; } .text-right { text-align:right; } .text-center { text-align:center; } .text-justify { text-align:justify; } .bold { font-weight:bold; } .italic { font-style:italic; } .underline { border-bottom:1px solid; } .highlight { background:#ffc; } .wrap { width:960px;margin:0 auto; } .img-left { float:left;margin:4px 10px 4px 0; } .img-right { float:right;margin:4px 0 4px 10px; } .nopadding { padding:0; } .noindent { margin-left:0;padding-left:0; } .nobullet { list-style:none;list-style-image:none; }
| SYNTAX |
|---|
| Syntax |
| selector {property: value;} |
| External Style Sheet |
| link rel="stylesheet" type="text/css" href="style.css" |
| Internal Style |
| Inline Style |
| GENERAL | |
|---|---|
| Class | String preceded by a period |
| ID | String preceded by a hash mark |
| div | Formats structure or block of text |
| span | Inline formatting |
| color | Foreground color |
| cursor | Appearance of the cursor |
| display | block; inline; list-item; none |
| overflow | How content overflowing its box is handled visible, hidden, scroll, auto |
| visibility | visible, hidden |
| FONT | |
|---|---|
| font-style | Italic, normal |
| font-variant | normal, small-caps |
| font-weight | bold, normal, lighter, bolder, integer (100-900) |
| font-size | Size of the font |
| font-family | Specific font(s) to be used |
| TEXT | |
|---|---|
| letter-spacing | Space between letters |
| line-height | Vertical distance between baselines |
| text-align | Horizontal alignment |
| text-decoration | blink, line-through, none, overline, underline |
| text-indent | First line indentation |
| text-transform | capitalize, lowercase, uppercase |
| vertical-align | Vertical alignment |
| word-spacing | Spacing between words |
| BOX MODEL | |
|---|---|
| height; width; margin-top; margin-right; margin-bottom; margin-left; padding-top; padding-right; padding-bottom; padding-left; | |
| BORDER | |
|---|---|
| border-width | Width of the border |
| border-style | dashed; dotted; double; groove; inset; outset; ridge; solid; none |
| border-color | Color of the border |
| POSITION | |
|---|---|
| clear | Any floating elements around the element? both, left, right, none |
| float | Floats to a specified side left, right, none |
| left | The left position of an element auto, length values (pt, in, cm, px) |
| top | The top position of an element auto, length values (pt, in, cm, px) |
| position | static, relative, absolute |
| z-index | Element above or below overlapping elements? auto, integer (higher numbers on top) |
| BACKGROUND | |
|---|---|
| background-color | Background color |
| background-image | Background image |
| background-repeat | repeat, no-repeat, repeat-x, repeat-y |
| background-attachment | Background image scroll with the element? scroll, fixed |
| background-position | (x y), top, center, bottom, left, right |
| LIST | |
|---|---|
| list-style-type | Type of bullet or numbering in the list disc; circle; square; decimal; lower-roman; upper-roman; lower-alpha; upper-alpha; none |
| list-style-position | Position of the bullet or number in a list inside; outside |
| list-style-image | Image to be used as the bullet in a list |