home *** CD-ROM | disk | FTP | other *** search
/ 207.233.110.77 / 207.233.110.77.tar / 207.233.110.77 / web15 / Tutorial.06 / forms.css < prev    next >
Cascading Style Sheet File  |  2011-04-02  |  869b  |  38 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: Amber Jowers
  8.    Date:   March 28, 2011 
  9.  
  10.    Filename:         forms.css
  11.    Supporting Files: none
  12.  
  13. */
  14.  
  15. fieldset        {margin-bottom: 10px; padding: 10px;                     background-color: rgb(237, 233, 223)}
  16.  
  17. label.blockLabel    {display: block; position: relative;                     margin: 12px 0px}
  18.  
  19. label.blockLabel input {position: absolute; left: 150px}
  20.  
  21. #donationForm span    {color: red}
  22.  
  23. label.indentLabel    {margin-left: 150px}
  24.  
  25. #firstName, #lastName, #street    {width: 25em}
  26. #phone, #city            {width: 10em}
  27. #state                {width: 3em}
  28. #zip                {width: 7em}
  29.  
  30. #addressOptions        {width: 180px; margin-left: 150px}
  31.  
  32. #creditCard        {position:absolute; left: 150px}
  33.  
  34. #expmonth        {position:absolute; left: 150px}
  35.  
  36. #expyear        {position:absolute; left: 280px}
  37.  
  38.