Posted By

lister on 04/27/08


Tagged

css textmate


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

hariharank12


reset CSS template


 / Published in: CSS
 

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

by Chris Coyier

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

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: iTony on April 27, 2008

I think that that inside value of list-style it's pointless to use, because the none value already takes care of the extra padding from the outside default value. Unless it is a cross-browser issue.

Posted By: iTony on April 27, 2008

another thing I noted is the outline of the anchor tags is none, which doesn't help for the accessibility of the site when I user tries to navigate with the keyboard or other screen browsing application. Just a thought.

You need to login to post a comment.