home *** CD-ROM | disk | FTP | other *** search
/ 207.233.110.77 / 207.233.110.77.tar / 207.233.110.77 / web06 / Tutorial5 / Tutorial5-Review / programs.css < prev    next >
Cascading Style Sheet File  |  2011-03-04  |  1KB  |  58 lines

  1. /*
  2.    New Perspectives on HTML and XHTML 5th Edition
  3.    Tutorial 5
  4.    Review Assignment
  5.  
  6.    Programming Table Style Sheet
  7.    Author: Antonio Chavez
  8.    Date: March 4, 2011
  9.  
  10.    Filename:         programs.css
  11.    Supporting Files: left.jpg, right.jpg, top.jpg, topleft.jpg, topright.jpg 
  12.  
  13. */
  14.  
  15. table.programs
  16.     {border-collapse: collapse;
  17.     font-family: Trebuchet MS, Arial, Verdana, sans-serif; width: 100%}
  18.  
  19. table.programs caption
  20.     {caption-side: bottom; font-size: 0.8em; text-align: right}
  21.  
  22. table.programs col.daysColumn
  23.     {width: 13%}
  24.  
  25. table.programs col.lastColumn
  26.     {background-color: white; width: 13%;}
  27.  
  28. table.programs col.timeColumn
  29.     {background-color: rgb(215, 205, 151); width: 7%;}
  30.  
  31. table.programs td, table.programs th
  32.     {font-size: 0.7em; vertical-align: top;}
  33. table.programs td
  34.     {border-bottom: 1px solid gray; border-left: 1px solid gray}
  35. table.programs th
  36.     {border-bottom: 1px solid gray}
  37.  
  38. table.programs tr
  39.     {height: 25px}
  40.  
  41. table.programs thead tr
  42.     {background-color: rgb(105, 177, 60)}
  43.  
  44. .lastColumn
  45.     {background: url(right.jpg) repeat-y right}
  46.  
  47. .timeColumn
  48.     {background: url(left.jpg) repeat-y left}
  49.  
  50. #topLeft
  51.     {background-color: rgb(105, 177, 60);
  52.     background: url(topleft.jpg) no-repeat top left}
  53.  
  54. #topRight
  55.     {background-color: rgb(105, 177, 60);
  56.     background: url(topright.jpg) no-repeat top right}
  57.  
  58.