Bare-bones CSS Reset


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



Copy this code and paste it in your HTML
  1. html, body, div, h1, h2, h3, ul, ol, li, form, fieldset,  
  2. input, textarea {  
  3.     margin: 0;  
  4.     padding: 0;  
  5.     font-size: 100%;  
  6. }  
  7. ul {list-style: none;}  
  8. img, fieldset {border: 0;}  
  9. h1, h2, h3 {font-weight: normal;}  
  10. em {font-style: italic;}  
  11. strong {font-weight: bold;}  

URL: http://www.fivefingercoding.com/xhtml-and-css/create-custom-css-reset

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.