CSS Mobile Reset


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



Copy this code and paste it in your HTML
  1. /* CSS Mobile Reset */
  2. html, body
  3. {
  4. margin: 0;
  5. padding: 0;
  6. border: 0;
  7. }
  8.  
  9. body
  10. {
  11. font-family:Arial, sans-serif;
  12. line-height:1.5;
  13. font-size:16px;
  14. background: #fff;
  15. padding:5px;
  16. color: #000;
  17. word-wrap: break-word;
  18. -webkit-text-size-adjust: none;
  19. }
  20.  
  21. h1, h2, h3, h4, h5, h6{ font-weight: normal; }
  22.  
  23. p img { float: left; margin: 0 10px 5px 0; padding: 0; }
  24.  
  25. img { border: 0; max-width: 100%; }
  26.  
  27. table { width:auto; border-collapse: collapse;border-spacing: 0; }

URL: http://www.vcarrer.com/2010/11/css-mobile-reset.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.