I'm having a few problems trying to position two divs, side-by-side, inside a wrapper div, one with left align and the other with right align.
Here is my code:
I tried adding position relative to the `member_top_wrap` and absolute on the two inside elements, using left and right positioning, but then the 15px padding wasn't working. Can somebody please explain how to achieve this?
This is an illustrated example:
![enter image description here]
I'm not looking for the padding in between the two elements as shown in the illustration, I added the gap to define the two elements. Float one left and the other right.
以上就是Positioning two elements inside wrapper element的详细内容，更多请关注web前端其它相关文章！