title: How can I center this link
body: <p>I have a link labeled <code>Get D1</code> which I need to center in the middle of the page. I tried text-align:center, but that works on the text itself and doesn't actually center the link in the middle of the page. Does anyone know the css trick for this?</p>
  
  <pre><code>&lt;div id="allds"&gt;
      &lt;div id="d1"&gt;
          &lt;a href="http://someurl.com" id="d1link"&gt;Get D1&lt;/a&gt;
      &lt;/div&gt;
      &lt;div id="d2"&gt;
          content of d2
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>