home *** CD-ROM | disk | FTP | other *** search
/ 207.233.110.77 / 207.233.110.77.tar / 207.233.110.77 / web15 / tutorial5-review / programs.css < prev    next >
Cascading Style Sheet File  |  2011-02-28  |  1KB  |  46 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: Amber White Jowers
  8.    Date:   February 23, 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        {border-collapse: collapse; font-family:                 Trebuchet MS, Arial, Verdana, sans-serif; 
  16.             font-size: 0.7em; width: 100%}
  17.  
  18. table.programs td    {border-bottom: 1px solid gray}
  19.  
  20. table.programs th    {border-bottom: 1px solid gray}
  21.  
  22. table.programs thead    {color: white; background-color:                     rgb(105,177,60)}
  23.  
  24. table.programs col.timeColumn    
  25.             {background: url(left.jpg) repeat-y left;                 background-color: rgb(215,205,151); 
  26.             width: 7%}
  27.  
  28. table.programs col.daysColumn
  29.             {width: 13%}
  30.  
  31. table.programs col.lastColumn    
  32.             {background: url(right.jpg) repeat-y                     right; background-color: white; 
  33.             width: 13%}
  34.  
  35. table.programs thead tr {height: 25px}
  36. table.programs tbody tr {height: 25px}
  37.  
  38. table.programs tbody td {vertical-align: top; border-left: 1px             solid gray}
  39.  
  40. table.programs caption    {text-align: right; font-size: 0.8em;}
  41.  
  42.  
  43. table.programs #topLeft {background: url(topleft.jpg) no-repeat             top left; background-color:                         rgb(105,177,60)}
  44.  
  45. table.programs #topRight {background: url(topright.jpg) no-repeat             top right; background-color:                         rgb(105,177,60)}
  46.