home *** CD-ROM | disk | FTP | other *** search
/ 207.233.110.77 / 207.233.110.77.tar / 207.233.110.77 / web06 / m31 / Tutorial_4 / CASE_1 / print.css < prev    next >
Cascading Style Sheet File  |  2011-03-20  |  825b  |  33 lines

  1. /*
  2.    New Perspectives on HTML and XHTML 5th Edition
  3.    Tutorial 4
  4.    Case Problem 1
  5.  
  6.    Willet Creek Print Style Sheet
  7.    Author: Antonio Chavez
  8.    Date:   March 20, 2011
  9.  
  10.    Filename:         print.css
  11.    Supporting Files: 
  12.  
  13. */
  14.  
  15. @page {size: 8.5in 11in portrait}
  16. h1, h2, h3 {font-family: sans-serif}
  17.  
  18. #head {text-align: center}
  19. #hole_list, #flags {display: none}
  20.  
  21. #hole_stats {float: left; margin-right: 0.2in; padding: 0.1in;
  22.     border-right: 0.1in double black; border-bottom: 0.1in double black;}
  23. #hole_stats h2 {font-size: 12pt}
  24.  
  25. #hole_image {position: absolute; left: 3in; top: 3in}
  26. #hole_image img {width: 3.54in; height: 5in}
  27.  
  28. #hole_description span {display: block; font-size: 20pt; font-weight: bold;
  29.     font-family: sans-serif}
  30.  
  31. #hole_description span:before {content: "Hole "}
  32.  
  33.