Your Ad Here

Posted By

curtismchale on 08/02/10


Tagged

css


Versions (?)

CSS Reset


 / Published in: CSS
 

  1. /* Global reset */
  2. /* Based upon 'reset.css' in the Yahoo! User Interface Library: http://developer.yahoo.com/yui */
  3. *, html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, label, fieldset, input, p, blockquote, th, td{margin:0; padding:0}
  4. table{border-collapse:collapse; border-spacing:0}
  5. fieldset, img{border:0}
  6. address, caption, cite, code, dfn, em, strong, th, var{font-style:normal; font-weight:normal}
  7. ol, ul, li{list-style:none}
  8. caption, th{text-align:left}
  9. h1, h2, h3, h4, h5, h6{font-size:100%; font-weight:normal}
  10. q:before, q:after { content:''}
  11. input{background:transparent;}
  12. /* Global reset-RESET */
  13. /* The below restores some sensible defaults */
  14. strong{font-weight:bold}
  15. em{font-style:italic}
  16. a img{border:none} /* Gets rid of IE's blue borders */
  17. input[type=submit]:hover{cursor:pointer;}

Report this snippet  

You need to login to post a comment.