Posted By

savintsev on 05/19/09


Tagged

css xhtml font-size


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

WinterCrow
Elog
heretoburma


font-size in CSS


 / Published in: XHTML
 

  1. <style type="text/css">
  2. body{
  3. font-size:100%;
  4. line-height:1.125em;
  5. }
  6. .bodytext p{
  7. font-size:0.875em;
  8. }
  9. .sidenote {
  10. font-size:0.75em;
  11. }
  12. <!--[if !IE]>-->
  13. <style type="text/css">
  14. body{
  15. font-size:16px;
  16. }
  17. <!--<[endif]-->

Report this snippet  

You need to login to post a comment.