I am trying to make a simple liquid layout using the CSS table technique , but there is one big drawback that I found in it: min-width and max-width are ignored on elements with display of table cells.
Do you know any workaround that will let me indicate how far the #sidebar element can travel in the following example?
XHTML:
<div id="wrapper"> <div id="main"> </div> <div id="sidebar"> </div> </div>
CSS
#wrapper { display: table-row; border-collapse: collapse; } #main { display: table-cell; } #sidebar { display: table-cell; width: 30%; min-width: 100px; max-width: 310px; }
css css-tables
user184735
source share