 <p>easily done, you just need to set the display to inline-block for those two <code>iframe</code>s. </p> <pre><code>iframe:nth-child(2),iframe:nth-child(3){ display:inline-block; } </code></pre> <p><a href="http://codepen.io/lukeocom/pen/JkFhl" rel="nofollow">here's an example</a>.</p> <p><code>iframe</code>s are somewhat frowned upon. You might like to consider using <code>div</code>s with ajax instead, utilizing the jquery <code>$.load</code> function to load whatever you like into them. You can read up on that <a href="http://api.jquery.com/load/" rel="nofollow">here</a>. </p> <p>Hope that helps...</p>