I have a wrapper width fixed width - 300px; I have a child, content, width width 600px - causing the container to have scrolling. I have another child, header, that I want to stretch the entire width of the wrapper. I say width 100% - but I only get 300px. I want it to get 600px (the full scrollable width of the wrapper)
I can probably solve this with Flex, but I want to know if there is another way.
Here's a screenshot of my problem:

How do I do that?
.wrapper{
width:300px;
height:300px;
overflow:auto;
background-color:gray;
}
.header{
background-color:red;
width:100%;
height:30px;
}
.content{
height:100px;
width:600px;
background-color:yellow;
}
<div class="wrapper">
<div class="header">
</div>
<div class="content">
</div>
</div>