Problem: In the following HTML-markup:
<html>
<body>
<div id="div_1"></div>
<div id="div_2"></div>
</body>
</html>
I want both div‘s (this can be any other tag) to be centered AND positioned side-by-side. How to achieve this with CSS, without adding a third parent container?
Demo here: http://jsfiddle.net/Shehi/6RqWb/
Following CSS rules solve the problem: