Flexable internal content
Hello I am working on a project that uses a template with a fixed width.
Wrapper width is 860px.
the content div has a minimum width of 460px.
Here is a link to the page. http://criterioninstitute.org/leadersshapingmarkets/
Please be aware that the div classes carry through the entire site (i need a solution that will work for 1,2,or 3 column layout).
What I am trying to accomplish is if one, or both of the the sidebars are removed, the content will flex to 100% of the space allowed (so if there are two sidebars the content will be around 460px, if one or more, of the sidebars are removed it will move to fill that space). When I remove the
Code:
min-width and right and left margin
and make the
Code:
.content {width:100%;}
it pushes the to the bottom of the wrapper. Any thoughts on this? I don't know if this can be solved with css or if it will need javascript or a php function to accomplish it. Any help is most welcome.
Thanks in advance.