title: How do I center an image for mobile screens (using HTML)?
body: <p>I'm working on a work project using an interface which allows only HTML editing. Users viewing the pages I'm creating will view them from Mobile devices. The images I'm trying to place are above a paragraph. All I need is for the image to be centered. </p>
  
  <p>I've created an example which looks centered on a larger screen, but moves the image slightly to the right on smaller screens. Could someone let me know what's going wrong here?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.image {
    width: 382px;
    height: 135px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;img src="image.jpg"&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Edit: in my end-of-day frenzy I forgot to mention I've already assigned a class: "image". </p>