两边盒子固定宽度,中间盒子自适应布局

两边固定中间自适应布局 - 锐客网 .container { min-width: 800px; height: 200px; background-color: #eee; /*width: 100%;*/ /*padding: 0 200px; */ } .main { float: left; width: 100%; height: 200px; background-color: red; } .right,.left { float: left; height: 200px; width: 200px; background-color: yellow; } .left { margin-left: -100%; } .right { margin-left: -200px; } .main_ { margin: 0 200px; } 1 3

    推荐阅读