home *** CD-ROM | disk | FTP | other *** search
/ Everyday Connections - In…munication (3rd Edition) / Everyday_Connections_CD-ROM_for_Julia_T._Woods_Interpersonal_Communication_2002.iso / pc / site / style.js < prev    next >
Text File  |  2001-04-11  |  2KB  |  46 lines

  1. document.writeln('<style type = "text/css">');
  2. document.writeln('body, a, p, em, li, ul, h1 {');
  3. document.writeln('    color:                #666633;');
  4. document.writeln('    background-color:    #CCCC66;');
  5. document.writeln('    font-family:        Arial,Helvetica;');
  6. document.writeln('}');
  7. document.writeln('p {');
  8. document.writeln('    margin-left:        10pt;');
  9. document.writeln('    margin-right:        10pt;');
  10. document.writeln('}');
  11. document.writeln('p.inst {');
  12. document.writeln('    text-align:            center;');
  13. document.writeln('}');
  14. document.writeln('p.intro {');
  15. document.writeln('    margin-left:        0pt;');
  16. document.writeln('    margin-right:        0pt;');
  17. document.writeln('}');
  18. document.writeln('a {');
  19. document.writeln('    font-weight:        bold;');
  20. document.writeln('}');
  21. document.writeln('em {');
  22. document.writeln('    color:                #FFFFFF;');
  23. document.writeln('    font-style:            normal;');
  24. document.writeln('    font-weight:        bold;');
  25. document.writeln('    text-decoration:    underline;');
  26. document.writeln('}');
  27. if (navigator.appVersion.indexOf("Mac") != -1)
  28. {
  29.     document.writeln('body, a, p, em, li, ul {');
  30.     document.writeln('    font-size:            14pt;');
  31.     document.writeln('}');
  32.     document.writeln('p.inst {');
  33.     document.writeln('    font-size:            12pt;');
  34.     document.writeln('}');
  35. }
  36. else if (navigator.appVersion.indexOf("Win") != -1)
  37. {
  38.     document.writeln('body, a, p, em, li, ul {');
  39.     document.writeln('    font-size:            11pt;');
  40.     document.writeln('}');
  41.     document.writeln('p.inst {');
  42.     document.writeln('    font-size:            9pt;');
  43.     document.writeln('}');
  44. }
  45. document.writeln('</style>');
  46.