title: How to set two elements on the same line using CSS
body: <pre><code>.image{
  position:absolute;
  display:inline-block;
  }
  </code></pre>
  
  <p>Currently I have 2 images  with the same size and I would like to equally let them share the screen. The img a on left handside and img b at right. The problem is if I set it as class, the two images is overlapped even I use inline - block. The restriction is I can not use relative. Therefore, is there any way to achieve this? Do I need to set a id for each image to do this? Thanks</p>