home *** CD-ROM | disk | FTP | other *** search
/ 207.233.110.77 / 207.233.110.77.tar / 207.233.110.77 / web31 / Section_35397 / Martins_Jaymn / tutorial.06 / tutorial / forms.css < prev    next >
Cascading Style Sheet File  |  2011-04-16  |  1KB  |  27 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: Jaymn Martins
  8.    Date: 4/4/11
  9.  
  10.    Filename:         forms.css
  11.    Supporting Files: none
  12.  
  13. */
  14. fieldset                                                  {margin-bottom: 10px; padding:10px; background-color: rgb(237, 233, 223)}
  15. label.blockLabel                                {display: block; position: relative; margin: 12px 0px}
  16. label.blockLabel input                        {position: absolute; left: 150px}
  17. #donationForm span                           {color: red}
  18. label.indentLabel                              {margin-left: 150px}
  19. #firstName, #lastName, #street {width: 25em}
  20. #phone, #city                                   {width: 10em}
  21. #state                                                 {width: 3em}
  22. #zip                                                     {width: 7em}
  23. #addressOptions                               {width: 180px; margin-left: 150px}
  24. #creditCard                                       {position: absolute; left:150px}
  25. #cardHolder, #cardNumber             {width: 25em}
  26. #expMonth                                           {position: absolute; left: 150px}
  27. #expYear                                             {position: absolute; left: 280px}