Have been searching the net for the past hours to find a solution to this, but couldn’t find it, so here I am.
I need the width of the div to be 100% minus the width of the left div.
So that the div to the left of it stays the same width (390px) but the other div adjusts its size depending on the resolution . I have found the solution where it has a fixed width div on both sides, but just cant figure this out.

Simple solution:
CSS:
This will allow you to have a fixed sidebar width and a full width content area. I have used it many times and it works like a charm.