I have 2 div:
<div class="parent">
<div class="child">
</div>
</div>
<p>content after parent</p>
parent width is fix: 60em
chlid should be as wide as the screen
if i set child's css like below the parent does not take the child's height and the content after parent slides up.
position:absolute;
width:100%;
left:0;
Is there any way in css to solve this problem or should i use js?