title: HTML centered DIV
body: <p>I am trying to center a div. This is my code:</p>
  
  <pre><code>&lt;!Doctype Html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;title&lt;/title&gt;
          &lt;style type="text/css"&gt;
              * {
                  text-align: left;
              }
          &lt;/style&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;div id="container" style="width: 500px; margin-left: auto; margin-right: auto; text-align: center;"&gt;
              &lt;div id="content" style="text-align: center;"&gt;
                  &lt;p&gt;Beispiel: DIV Container horizontal zentrieren.&lt;/p&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>It isn't completely center, because I set in the CSS reset that text-align is left. If I remove this line everything is fine. Why is text-align: center; of the div with the id #content not overriding the CSS reset?</p>