title: How make divs next to each other?
body: <p>My knowledge of css and html is fairly limited. I am trying to make tiles that contain an image and one line of text, and these tiles should go next to each other, then continue on the next line if the screen's width has been used.</p>
  
  <p><img src="https://i.stack.imgur.com/pY4fT.png" alt="Example of what I need"></p>
  
  <p>This image shows what I need. The blue areas are images, the text below it is horizontally aligned <code>center</code>. The tiles are 160px wide, their height depends on how long the text is, but should be at least 150px. I know I have to work with divs, obviously, but I can't really get any further than that.</p>