Is it possible to make an inner div always have a width of the full browser window regardless of its parent/s width settings and dimensions? I also want to make said div sit right on the left of the page, ie, left: 0
where zero is relative to the body element (not its parent div).
My playing around can make the inner div the correct width but the content below it moves up (doesn't sit underneath) and I still haven't figured out how to move the div left to 0.
And to make things harder; is it possible to do with CSS2 (not use CSS3)?
.full-page-width {
position: absolute;
left: 0;
right: 0;
width: 100%;
}
<div class="container">
<div class="row">
<div class="col-md-8">
<p>I should sit above Foo</p>
<div class="full-page-width">
<p>Foo</p>
</div>
<p>I should always sit below Foo</p>
</div>
</div>
</div>