Positioning div to the right with an undefined width
<p>I'm going to have trouble explaining what I mean but bear with me. First here's my fiddle <a href="https://jsfiddle.net/jmajnqej/5/" rel="nofollow noreferrer">https://jsfiddle.net/jmajnqej/5/</a> (updated by Aziz)</p>

<pre><code>#freelancewrapper {
width: 100%;
max-width: 1000px;
height: 440px;
background-color: #9D9D9D;
position: absolute;
}
</code></pre>

<p>I'm trying to get freelancewrapper to hug the right side of the screen with no padding. It needs to stay connected to the very right side of the screen no matter what width the window is. To make it more complicated it's parent div contentwrapper has to stay where it is with the same width and margins.</p>

<p>here is a representation of two screen sizes to show what I mean. <a href="https://imgur.com/a/IkOwx" rel="nofollow noreferrer">http://imgur.com/a/IkOwx</a></p>

<p><strong>Update:</strong> I didn't realize it at the time but this is a two part question. Positioning it was easy but getting the right correct width property is not. Here's my question for that <a href="https://stackoverflow.com/questions/35469835/trouble-defining-width-of-a-responsive-div">Trouble defining width of a responsive div</a>.</p>