Simplified reset


/ Published in: CSS

stripped down css sheet


Copy this code and paste it in your HTML
  1. /* null margins and padding to give good cross-browser baseline */
  2. html,body,address,blockquote,div,
  3. form,fieldset,caption,
  4. h1,h2,h3,h4,h5,h6,
  5. hr,ul,li,ol,ul,
  6. table,tr,td,th,p,img {
  7. margin:0;
  8. padding:0;
  9. }
  10.  
  11. img,fieldset {
  12. border:none;
  13. }
  14.  
  15. *:focus {
  16. outline: none;
  17. }

URL: http://www.sitepoint.com/css-resets-useful-or-useless/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.