title: I am trying to make a Microsoft Sharepoint page using HTML and CSS. The image wont center in different browsers
body: <p>I am trying to put this image in the left container but it seems to leak out in chrome and not in explorer.</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>  .left-col p{
                             text-align: justify;
                             width:300px;
                                         }                           
  
                    .left-col img{
                                margin: 0 auto;
                                left: 10%;
                                width:300px; 
                                height: 130px;
                                text-align:center;
                                 }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="left-col"&gt;
        &lt;img src="Cyber.jpg" width="200" height=150"/&gt;
               &lt;p&gt;&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec iaculis neque nec luctus maximus. Donec eu eleifend libero, nec scelerisque metus. Morbi volutpat turpis pretium &lt;/p&gt;</code></pre>
  </div>
  </div>
  </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>.container div {
     padding: 1%;
     box-sizing: border-box;
     min-height: 700px;
    }
                    .left-col p{
                             text-align: justify;
                             width:300px;
                                         }                           
  
                    .left-col img{
                                margin: 0 auto;
                                left: 10%;
                                width:300px; 
                                height: 130px;
                                text-align:center;
                                 }
  
    .left-col, .right-col {
     background-color: #f4f4f4;
     width: 25%;
     float: left;
    }
    .center-col {
     width: 50%;
     float: left;
    }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;/div&gt;
  &lt;div class="container"&gt;
   &lt;div class="left-col"&gt;
        &lt;img src="Cyber.jpg" width="200" height=150"/&gt;
               &lt;p&gt;&lt;p&gt;Lorem  pretium &lt;/p&gt;
   &lt;/div&gt;
   &lt;div class="center-col"&gt;
    &lt;h2&gt;Center&lt;/h2&gt;
    &lt;p&gt;Lorem ipsum dolortempor.&lt;/p&gt;
   &lt;/div&gt;
   &lt;div class="right-col"&gt;
    &lt;h2&gt;Right&lt;/h2&gt;
    &lt;p&gt;Lorem tempor.&lt;/p&gt;
   &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="https://i.stack.imgur.com/xNxSJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xNxSJ.png" alt="Chrome"></a>
  <a href="https://i.stack.imgur.com/nXkiv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nXkiv.png" alt="Explorer"></a></p>