How would you go about making a three column based html layout with divs where each div can span 1/3, 2/3, or 3/3 of the space plus margins in a way that will work with any combination. (obviously only combinations are 3 1/3width divs, 1 1/3width div and 1 2/3width div, or 1 3/3widths div)
This may be a little confusing to understand so here is a picture to illustrate what I'm trying to achieve:
This is just an example, the divs don't have to be exactly this width, I just want three div types that are 1/3, 2/3, and 3/3 of whatever width is used.
I'm sorry if my question isn't clear.