好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

左右两栏宽度自适应,中间一栏宽度固定_html/css_WEB-ITnose

左右两栏宽度自适应,中间一栏宽度固定:
中间一栏宽度固定,左右两栏宽度自适应效果在众多网页中都有应用,有不错的使用效果,下面就简单介绍一下如何此效果:
代码实例如下:

      蚂蚁部落  *{  margin:0;  padding:0;}body {  font-family:Verdana, Arial, Helvetica, sans-serif;  min-width:620px;}#left,#right {  float:left;  width:50%;  margin:0 0 0 -151px;}#innerLeft,#innerRight{  margin:0 0 0 151px;  background-color:#efefef;}#middle {  float:left;  width:300px;  background-color:#ccc;}.inner {  padding:12px;}   

左栏

查看更多关于左右两栏宽度自适应,中间一栏宽度固定_html/css_WEB-ITnose的详细内容...

  阅读:31次