Posted By


r2cgroup on 02/10/11

Tagged


Statistics


Viewed 472 times
Favorited by 0 user(s)

R2C - CSS Reset


/ Published in: HTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. /* ================ */
  2. /* = RESET CSS - = */
  3. /* ================ */
  4. /* v1.0 | 20080212 */
  5.  
  6. html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
  7. body { line-height: 1; }
  8. ol, ul { list-style: none; }
  9. blockquote, q { quotes: none; }
  10. blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
  11. :focus { outline: 0; } /* remember to define focus styles! */
  12. ins { text-decoration: none; } /* remember to highlight inserts somehow! */
  13. del { text-decoration: line-through; }
  14. table { border-collapse: collapse; border-spacing: 0; }/* tables still need 'cellspacing="0"' in the markup */
  15. a:active { outline:none; } /* get rid of those system borders being generated for A tags */
  16. :focus { -moz-outline-style:none; } /* get rid of those system borders being generated for A tags */

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.