Positioning two elements inside wrapper element

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][1] [1]: http://i.stack.imgur.com/QkKbD.jpg 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前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » CSS3 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准