Posted By

primitiveshaun on 02/15/11


Tagged

reset common


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

aegony
jondiscipulo


CSS Reset


 / Published in: CSS
 

  1. /* CSS Reset */
  2. 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;}
  3. body {line-height:1;}
  4. ol,ul {list-style:none;}
  5. blockquote,q {quotes:none;}
  6. blockquote:before,blockquote:after,q:before,q:after {content: ''; content: none;}
  7. ins {text-decoration: none;} /* remember to highlight inserts somehow! */
  8. del {text-decoration: line-through;}
  9. table {border-collapse: collapse; border-spacing: 0;} /* tables still need 'cellspacing="0"' in the markup */
  10. :focus {outline: 0;} /* remember to define focus styles! */

Report this snippet  

You need to login to post a comment.