November 18, 2013 at 7:06 am #156396
Absolutely positioned child never has effect to it’s parent element.
You must use another way to make the parent pay attention to the child.
It could be one of:
display: inline-block;to child
float: left;to child and
overflow: hidden;(or a clearfix) to parent
display: table;to parent and
display: table-cell;to child
Tell better what you want and you get better help.