home *** CD-ROM | disk | FTP | other *** search
/ 207.233.110.77 / 207.233.110.77.tar / 207.233.110.77 / web06 / m31 / Tutorial_6 / forms.css < prev    next >
Cascading Style Sheet File  |  2011-04-04  |  976b  |  39 lines

  1. /*
  2.    New Perspectives on HTML and XHTML 5th Edition
  3.    Tutorial 6
  4.    Tutorial Case
  5.  
  6.    Web Form Style Sheet
  7.    Author: Antonio Chavez
  8.    Date:   April 1, 2011
  9.  
  10.    Filename:         forms.css
  11.    Supporting Files: none
  12.  
  13. */
  14.  
  15. fieldset
  16.     {margin-bottom: 10px; padding: 10px; background-color: rgb(237, 233, 223)}
  17.  
  18. label.blockLabel 
  19.     {display: block; position: relative; margin: 12px 0px}
  20. label.blockLabel input
  21.     {position: absolute; left: 150px}
  22. label.indentLabel
  23.     {margin-left: 150px}
  24.  
  25. #donationForm span
  26.     {color: red}
  27.  
  28. #firstName, #lastName, #street  {width: 25em}
  29. #phone, #city                   {width: 10em}
  30. #state                          {width: 3em}
  31. #zip                            {width: 7em}
  32.  
  33. #addressOptions {width: 180px; margin-left: 150px}
  34. #cardHolder, #cardNumber {width: 25em}
  35. #creditCard {position: absolute; left: 150px}
  36. #expMonth {position: absolute; left: 150px}
  37. #expYear {position: absolute; left: 280px}
  38.  
  39.