title: Automatic Centering Of Gallery
body: <p>Everytime I add a Gallery in a post, I need to modify the html from</p>
  
  <pre><code>[gallery type="rectangular" link="none" ids="1743,1742,1741"]
  </code></pre>
  
  <p>to </p>
  
  <pre><code>&lt;div style="margin: 0 auto; width: 500px;"&gt;
  [gallery type="rectangular" link="none" ids="1743,1742,1741"]
  &lt;/div&gt;
  </code></pre>
  
  <p>I want to modify the php file to have this extra html added. Is this possible to do? I have limited knowledge on php and am struggling to find where this gallery tag is generated.</p>