home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 Spring / INTERNET101.ISO / pc / software / windows / building / stylemaster3 / installsm3demo.exe / _SETUP.1 / 8_basic.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2002-05-18  |  1.7 KB  |  42 lines

  1. body, p, td, li {font-family: Verdana, Helvetica, Arial, sans-serif;
  2. color: black;
  3. font-size: 1em;
  4. background-color: white;}
  5.  
  6. /* Because Netscape Navigator 4 does not allow inheritance into tables, and breaks inheritance after tables, rather than simply setting properties on the body and relying on inheritance, we explicitly set the properties on all these elements using the selector group above. */
  7.  
  8. /* Some styles may be common to headings of every level, for example you might want all your headings to be blue. Use the following selector group for these styles common to all headings. */
  9.  
  10. h1, h2, h3, h4, h5, h6 {}
  11.  
  12. /* Now use the individual heading levels to make each of the heading levels different from one another. For example, h1 should have a larger font-size than h2, which should be bigger than h3 and so on. */
  13.  
  14. h1 {}
  15.  
  16. h2 {}
  17.  
  18. h3 {}
  19.  
  20. h4 {}
  21.  
  22. h5 {}
  23.  
  24. h6 {}
  25.  
  26. p {}
  27.  
  28. /* The following four selectors allow you to select links when they are in the four different states: link - before they have been visited, visited - after it has been visited, hover - when the mouse is over the link, active - when the user clicks the link. */
  29.  
  30. a:link {}
  31.  
  32. a:visited {}
  33.  
  34. a:hover {}
  35.  
  36. a:active {}
  37.  
  38. /* You will often use images that are links in your web pages. In some older browsers this will result in the image having an unsightly bright blue border around it. The following statement will stop this by specifying that img elements, when they are inside a elements, should have no border. */
  39.  
  40. a img {border: none;}
  41.  
  42. /* This style sheet provides selectors for the most commonly used elements. It also has a few simple and helpful properties for some of these selectors. Use it as the basis for your first style sheet. */