home *** CD-ROM | disk | FTP | other *** search
/ 207.233.110.77 / 207.233.110.77.tar / 207.233.110.77 / web16 / tutorial_8 / noframes.css < prev    next >
Cascading Style Sheet File  |  2011-04-18  |  2KB  |  45 lines

  1. /*
  2.    New Perspectives on HTML and XHTML 5th Edition
  3.    Tutorial 8
  4.    Tutorial Case
  5.  
  6.    Cliffhangers Style Sheet
  7.  
  8.    Filename:         noframes.css
  9.    Supporting Files: 
  10.  
  11. */
  12.  
  13. *            {padding: 0px; margin: 0px}
  14. body         {background-image: url(wall.jpg); font-family: Verdana, Geneva, sans-serif; font-size: 14px}
  15. #head        {width: 720px; background-color: white}
  16. #pageContent {width: 720px; position: absolute; top: 45px; left: 5px;
  17.               background-image: url(wall.jpg)}
  18. h2           {font-size: 24px; letter-spacing: 5px; font-weight: normal; color: rgb(157, 87, 89);
  19.               margin: 0px 0px 15px 0px}
  20. h4           {font-size: 18px; letter-spacing: 3px; font-weight: normal; color: rgb(157, 87, 89);
  21.               margin: 10px 0px 10px 0px; border-top: 1px solid black}
  22.  
  23. p            {margin-bottom: 10px}
  24.  
  25. #firstp:first-line   {font-variant: small-caps}
  26. #firstp:first-letter {float: left; font-size: 400%; line-height: 0.8; margin: 0px 5px 0px 0px;
  27.                       font-family: 'Times New Roman', serif; color: rgb(157, 87, 89)}
  28.  
  29. #leftCol     {position: absolute; top: 45px; left: 0px; width: 140px; height: 550px;
  30.               background: url(wall3.jpg) repeat-y}
  31. #leftCol p   {font-size: 10px; text-align: center}
  32. #rightCol    {position: absolute; top: 45px; left: 150px}
  33.  
  34. ul          {font-size: 12px; line-height: 2; margin-left: 10px; list-style-type: none;
  35.              color: white; margin-top: 15px}
  36.  
  37. ul ul       {margin-left: 20px; margin-top: 0px}
  38.  
  39. ul li a         {text-decoration: none; color: white}
  40. ul li a:visited {color: white}
  41. ul li a:active  {color:white}
  42. ul li a:hover   {text-decoration: overline underline; color: yellow}
  43.  
  44.  
  45.