Posted By

AzizLight on 11/10/08


Tagged

css class


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

sulfurito
jamesming
shilguhn
jeremyhcobb


Global Classes


 / Published in: CSS
 

URL: http://www.crucialwebhost.com/blog/master-stylesheet-the-most-useful-css-technique/

  1. /***** Global Classes *****/
  2.  
  3. .clear { clear:both; }
  4. .float-left { float:left; }
  5. .float-right { float:right; }
  6.  
  7. .text-left { text-align:left; }
  8. .text-right { text-align:right; }
  9. .text-center { text-align:center; }
  10. .text-justify { text-align:justify; }
  11.  
  12. .bold { font-weight:bold; }
  13. .italic { font-style:italic; }
  14. .underline { border-bottom:1px solid; }
  15. .highlight { background:#ffc; }
  16.  
  17. .wrap { width:960px;margin:0 auto; }
  18.  
  19. .img-left { float:left;margin:4px 10px 4px 0; }
  20. .img-right { float:right;margin:4px 0 4px 10px; }
  21.  
  22. .nopadding { padding:0; }
  23. .noindent { margin-left:0;padding-left:0; }
  24. .nobullet { list-style:none;list-style-image:none; }

Report this snippet  

You need to login to post a comment.