reset CSS template


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

by Chris Coyier


Copy this code and paste it in your HTML
  1. /*
  2.   AUTHOR: YOUR NAME HERE
  3. */
  4.  
  5. /* ------------------------------------------ */
  6. /* RESETS, BASIC PAGE SETUP, BASIC TYPOGRAPHY */
  7. /* ------------------------------------------ */
  8. * { margin: 0; padding: 0; }
  9. html { overflow-y: scroll; }
  10. body { font: 62.5% Helvetica, sans-serif; }
  11. ul { list-style: none inside; }
  12. p { font: 1.3em/1.3em; margin-bottom: 1.3em; }
  13. a { outline: none; }
  14. a img { border: none; }
  15. /* END RESET */
  16.  
  17. /* ------------------------------------------ */
  18. /* TOOLBOX CSS */
  19. /* ------------------------------------------ */
  20. .floatleft { float: left; }
  21. .floatright { float: right; }
  22. .clear { clear: both; }
  23. /* END TOOLBOX */
  24.  
  25. /* ------------------------------------------ */
  26. /* PAGE STRUCTURE */
  27. /* ------------------------------------------ */
  28. #page-wrap {
  29. width: 775px;
  30. margin: 0 auto;
  31. }
  32. /* END STRUCTURE */

URL: URL: http://tutorialblog.org/designers-toolbox-blank-css-template/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.