title: Centering all HTML form elements using CSS
body: <p>How do you center all form label and input fields using CSS?</p>
  
  <p>How would you do this for a form with label text (block) on top of the input field?</p>
  
  <pre class="lang-css prettyprint-override"><code>#fieldset label {
      display: block;    
  }
  
  #fieldset input {
      font-size: 0.8em;
      height: 1.2em;
      width: 15em;
  }
  </code></pre>