Posted By

kevh on 11/03/06


Tagged

css CSSgeneralstyling


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

kevh
tavo


General Styling Markup


 / Published in: CSS
 

URL: http://kevh.net

This is basically the top few lines of every CSS document I start with, just the basic selectors, no specific elements at this point in time. I like to place a general styling for almost every type of tag in my document so that as I later style my HTML I can be sure that my entire document is using the same font family. Later in the document I place more emphasis on individual styling for each element.

  1. body{
  2. background: ;
  3. font: ;
  4. margin: ;
  5. }
  6. h1,h2,h3{
  7. font: ;
  8. margin: ;
  9. }
  10. h4,h5,h6{
  11. font: ;
  12. margin: ;
  13. }
  14. p{
  15. font: ;
  16. }
  17. strong{
  18. font: ;
  19. }
  20. span{
  21. font: ;
  22. }
  23. a,a:visited{
  24. font: ;
  25. text-decoration: ;
  26. }
  27. a:hover{
  28. font: ;
  29. }

Report this snippet  

You need to login to post a comment.