html - Chrome browser extension alignment of image links side by side (horizontally) -


i trying display images link side side. code works fine when executed on browser. images displayed vertically when loaded extension. can't figure out. appreciated.

<html>  <body>  <!--  <div class="imgcontainer">   <a href="popup.html">  <img border="0" src="images/a.png" height="30" width="30">  </a>    </div>     <div class="imgcontainer">   <a href="popup2.html">  <img border="0" src="images/b.png" height="30" width="30">  </a>  </div>-->  <!--<div id="imgcontainer">  <form action="/popup.html">      <input type="image" src="images/a.png" alt="submit" width="30" height="30">  </form>      <form action="/popup2.html">      <input type="image" src="images/b.png" alt="submit" width="30" height="30">  </form>  </div>-->    <div>  <a href="popup.html" >    <img src="images/a.png"  width="30" height="30" /></a>    </div>    <div>       <a href="popup.html"> <img src="images/b.png"  width="30" height="30" /></a>  </div>    <!--<button type="submit">  <img src="images/a.png" height="30" width="30"/>  </button>  <button type="submit">  <img src="images/a.png" height="30" width="30"/>  </button>-->  <style>  .imgcontainer{  display: inline-flex;  }  div {      display: inline-flex;  }  <!--body {                                     overflow-x: hidden;                   font-family: arial, sans-serif;                   font-size: 12px;               }  </style>    </body>  </html>

extension pic

<html>     <body>         <div style="display:flex">             <div>                 <a href="popup.html" ><img src="images/a.png" width="30" height="30" /></a>             </div>               <div>                  <a href="popup.html"> <img src="images/b.png"  width="30" height="30" /></a>              </div>         </div>     </body> </html> 

Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -