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

marcoba on 10/02/07


Tagged

css global-styles


Versions (?)


Who likes this?

2 people have marked this snippet as a favorite

basicmagic
oamaxa


CSS Global Styles


Published in: CSS 


URL: http://snipplr.com/users/marcoba/

some foundation styles used in every sheet (work in progress)

  1. .hide{ display:none; visibility:hidden; }
  2. .left{ float:left; }
  3. .right{ float:right; }
  4. .clear{ clear:both; height:0px; font-size:0px; line-height:0px; overflow: hidden; }
  5.  
  6. b, strong {font-weight: bold}
  7. i, em {font-style: italic;}
  8. u {text-decoration: underline;}
  9.  
  10. a:link { color: #3366ff; }
  11. a:visited { color: #6633cc; }
  12. a:focus { }
  13. a:hover { }
  14. a:active { color: #ff0000; }
  15.  
  16. a img{ border:none; }

Report this snippet 

Comments

RSS Icon Subscribe to comments
Posted By: marcoba on October 2, 2007

You need to login to post a comment.