As an alternative way of swimming:
<style> .wrapper{position:relative;} .right,.left{width:50%; position:absolute;} .right{right:0;} .left{left:0;} </style> ... <div class="wrapper"> <div class="left"></div> <div class="right"></div> </div>
Given that there is no need to position the .left div as absolute (depending on your direction, it can be like .right), because it will be in the desired position in the natural stream of html code.
sepehr Apr 07 '09 at 23:29 2009-04-07 23:29
source share