I have a three-column layout designed without using tables.
<div id="main">
<div id="left"></div>
<div id="content"></div>
<div id="right"></div>
</div>
This is the CSS code:
#left {width: 200px;float:left;display:inline;}
#content {width: 600px;float:left;display:inline;padding: 0 10px;}
#right {width: 160px;float:left;display:inline;}
I am working with a web application where I am not allowed to modify the layout. This means that the divs for left, content, and right cannot be removed.
In some instances, both left and right columns are empty, and I need the content div to expand beyond the 600px limit.
Can this be achieved without changing the HTML? What options do I have?
Appreciate any help!