Posted By

boldfish on 11/27/06


Tagged

start


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

gmwash


Template for blank CSS


 / Published in: CSS
 

  1. /*-----------------------------------------------------------------------------
  2. version: 1.0
  3. author: Tony Crockford
  4. email: [email protected]
  5. website: http://www.boldfish.co.uk/
  6. date:
  7.  
  8. Copyright 2006 Tony Crockford All Rights Reserved
  9. -----------------------------------------------------------------------------*/
  10.  
  11. /* =General
  12. -----------------------------------------------------------------------------*/
  13.  
  14. /* hack for forcing scroll bars to stop page jog - http://www.splintered.co.uk/experiments/49/ */
  15. html { margin-bottom: 1px; min-height: 100%; }
  16.  
  17. /* Remove padding and margin on selected elements*/
  18. h1,h2,h3,h4,h5,h6,pre,body,p,div{margin: 0; padding: 0;}
  19.  
  20. /*debug border on all divs*/
  21. div{
  22. border: 1px solid #ccc;
  23. }
  24.  
  25. /* Class for clearing floats */
  26. .clear {
  27. clear:both;
  28. }
  29.  
  30. /* Remove border around linked images and fix Firefox odd spaces */
  31. img {
  32. border: 0;
  33. vertical-align: bottom;
  34. }
  35.  
  36. /* =Structural
  37. -----------------------------------------------------------------------------*/
  38.  
  39.  
  40. /* =Typography
  41. -----------------------------------------------------------------------------*/
  42.  
  43.  
  44.  
  45. /* =Headings
  46. -----------------------------------------------------------------------------*/
  47.  
  48.  
  49.  
  50. /* =Links
  51. -----------------------------------------------------------------------------*/
  52.  
  53.  
  54.  
  55.  
  56. /* =Branding
  57. -----------------------------------------------------------------------------*/
  58.  
  59.  
  60.  
  61.  
  62. /* =Main Nav
  63. -----------------------------------------------------------------------------*/
  64.  
  65.  
  66.  
  67.  
  68. /* =Sub Nav
  69. -----------------------------------------------------------------------------*/
  70.  
  71.  
  72.  
  73.  
  74. /* =Main Content
  75. -----------------------------------------------------------------------------*/
  76.  
  77.  
  78.  
  79.  
  80. /* =Secondary Content
  81. -----------------------------------------------------------------------------*/
  82.  
  83.  
  84.  
  85. /* =Footer
  86. -----------------------------------------------------------------------------*/
  87.  
  88.  
  89.  
  90. /* =Forms
  91. -----------------------------------------------------------------------------*/
  92.  
  93.  
  94.  
  95.  
  96. /* =Tables
  97. -----------------------------------------------------------------------------*/
  98.  
  99. table {
  100. border-spacing: 0;
  101. border-collapse: collapse;
  102. }
  103.  
  104. td {
  105. text-align: left;
  106. font-weight: normal;
  107. }
  108.  
  109.  
  110.  
  111. /* =Misc 1
  112. -----------------------------------------------------------------------------*/
  113.  
  114.  
  115.  
  116. /* =Misc 2
  117. -----------------------------------------------------------------------------*/

Report this snippet  

You need to login to post a comment.