Home › Forums › CSS › css position absolute tricks › Reply To: css position absolute tricks
November 18, 2013 at 7:06 am
#156396
Merri
Participant
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 childfloat: left;
to child andoverflow: hidden;
(or a clearfix) to parentdisplay: table;
to parent anddisplay: table-cell;
to child
Tell better what you want and you get better help.