title: Center a fieldset in an HTML page
body: <p>I want to center a <code>fieldset</code> in my page but I don't know how.</p>
  
  <p>I used this css code :</p>
  
  <pre><code>fieldset
  {
      margin:auto;
      display: inline-block;
      text-align:center;
  }
  </code></pre>
  
  <p>but it only center the content of the <code>fieldset</code>
  I also used a <code>&lt;p style="text-align:center;"&gt; &lt;fieldset&gt; ...&lt;/fieldset&gt;&lt;/p&gt;</code>
  but it wont work.</p>
  
  <p>so how can I center it ?</p>
  
  <p><strong>Edit :</strong></p>
  
  <p>The <code>CSS</code> code I'm using now :</p>
  
  <pre><code>fieldset
  {
      text-align:left;
      display: inline-block;
      vertical-align:middle;
  }
  
  div
  {
      text-align:center;
      vertical-align:middle;
  }
  </code></pre>