We Recommend

CSS: The Definitive Guide CSS: The Definitive Guide
Provides you with a comprehensive guide to CSS implementation, along with a thorough review of all aspects of CSS 2.1. Updated to cover Internet Explorer 7, Microsoft's vastly improved browser, this new edition includes content on positioning, text wrapping (nowrap), lists and generated content, table layout, user interface, paged media, and more.


Posted By

Mikker on 08/21/07


Tagged

css textmate


Versions (?)


Who likes this?

2 people have marked this snippet as a favorite

basicmagic
stavelin


Initial CSS


Published in: CSS 


  1. html {
  2. font-size: 62.5%;
  3. }
  4.  
  5. body {
  6. font: 1.2em "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
  7. }
  8.  
  9. h1, h2, h3, h4, h5, h6 {
  10. font: bold 2em "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
  11. margin: 0.2em 0 0.4em;
  12. }
  13.  
  14. p, ul, ol {
  15. margin: 0 0 1.2em;
  16. }
  17.  
  18. strong {
  19. font-weight: bold;
  20. }
  21.  
  22. em {
  23. font-style: italic;
  24. }
  25.  

Report this snippet 

You need to login to post a comment.