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. */
  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 */

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.