SHARE
TWEET

Jeremy Kendall

a guest Jul 23rd, 2010 278 Never
  1. /**
  2.  * Adapted from http://robertbasic.com/blog/styling-the-default-zend_form-layout/
  3.  */
  4. @CHARSET "UTF-8";
  5.  
  6. .zend_form {
  7.     background: #fff;
  8.     width: 800px;
  9.     margin: 5px;
  10.     padding: 0;
  11.     overflow: auto;
  12. }
  13.  
  14. .zend_form dt {
  15.     padding: 0;
  16.     clear: both;
  17.     width: 30%;
  18.     float: left;
  19.     text-align: right;
  20.     margin: 5px 5px 5px 0;
  21. }
  22.  
  23. .zend_form dd {
  24.     padding: 0;
  25.     float: left;
  26.     width: 68%;
  27.     margin: 5px 2px 5px 0;
  28. }
  29.  
  30. .zend_form p {
  31.     padding: 0;
  32.     margin: 0;
  33. }
  34.  
  35. .zend_form input,.zend_form textarea {
  36.     margin: 0 0 2px 0;
  37.     padding: 0;
  38. }
  39.  
  40. .required:before{
  41.     content:'* ';
  42.     color: red;
  43. }
  44.  
  45. /*.optional:before{content:'+ '}*/
RAW Paste Data
Top