My Eric Meyer's Reset Code


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



Copy this code and paste it in your HTML
  1. /* ==== Reset CSS ==== */
  2. html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,button,pre,a,abbr,acronym,address,code,em,img,ins,q,strike,strong,sub,sup,tt,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,tbody,tfoot,thead,tr,th,td{border:0 none;outline:0;vertical-align:baseline;background:transparent;-moz-background-clip:none;margin:0;padding:0}
  3. body{line-height:1}
  4. ol,ul{list-style:none}
  5. html{overflow-y:scroll}
  6. :focus{outline:0}
  7. table{border-collapse:collapse;border-spacing:0}
  8. input[type=submit],label,select,button,.pointer{cursor:pointer}
  9. textarea{overflow:auto}
  10. iframe{filter:alpha(opacity=100) !important;/* for IE */ opacity:1 !important;/* for conforming browsers */}
  11.  
  12.  
  13. /* Ruben Silva Rodriguez */
  14.  
  15. /* Colores: */
  16.  
  17. /* Ultima modificación */

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.