title: How do I center an image using jqmobile
body: <p>Hi i am using this piece of code to center image in jquery mobile, it centers the image in iphone simulator but when i check it on iphone, it did not exactly centers (centers itself but not exactly) itself but tends towards left.</p>
  
  <pre><code>&lt;div data-role="content" data-theme="a"&gt;
  
     &lt;div id="logo_image"&gt;
         &lt;img src="images/logo.png"  alt="Image Header" &gt;
     &lt;/div&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>and the css is </p>
  
  <pre><code>#logo_image {
    text-align: center;
    margin-left:0 auto;
    margin-right:0 auto;
  }
  </code></pre>
  
  <p>Thanks in advance...</p>