Is there a way to overflow the background color of a child-div over its parent-div container? I'm trying to add full-screen width background-color but the parent-div has a fixed width. here is my HTML structure:
<div id="parent">
<div class="child">PAGE TITLE</div>
</div>
The CSS:
#parent {
max-width: 760px;
}
.child {
width: 100%;
background-color: red;
}
.child
to appear over#parent
? – Peter