Advertisement
Guest User

formstyle

a guest
Nov 3rd, 2010
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.76 KB | None | 0 0
  1. /* form styling */
  2. fieldset {
  3.   display: inline;
  4.   position: relative;
  5.   margin: 0 0 -1em 0;
  6.   padding: 0 0 1em 0;
  7.   border-style: none;
  8.   border-top: 1px solid #BFBAB0;
  9.   background-color: #F2EFE9;
  10. }
  11.  
  12. legend {
  13.   padding: 0;
  14.   color: #000000;
  15.   font-weight: bold;
  16. }
  17. legend span {
  18.   position: absolute;
  19.   left: 0.74em;
  20.   top: 0;
  21.   margin-top: 0.25em;
  22.   font-size: 110%;
  23. }
  24.  
  25. fieldset ol {
  26.   list-style: none;
  27.   padding: 3.1em 1em 0 1em;
  28. }
  29. fieldset li {
  30.   float: left;
  31.   clear: left;
  32.   width: 100%;
  33.   padding-bottom: 1em;
  34. }
  35. fieldset.submit {
  36.   float: none;
  37.   width: auto;
  38.   border: 0 none #FFF;
  39.   padding-top: 1em;
  40.   padding-left: 17em;
  41.   background-color: transparent;
  42. }
  43.  
  44. label {
  45.   float: left;
  46.   width: 14em;
  47.   margin-right: 1em;
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement