好得很程序员自学网

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

css常见自适应布局_html/css_WEB-ITnose

1.两列布局,左侧宽度固定,右侧宽度自适应

1.1.左侧进行浮动,右侧设置margin-left

/*    1.利用浮动进行布局*/    .left {        float: left;        width: 200px;        height: 200px;        background-color: cornflowerblue;    }    .right {        margin-left: 200px;        height: 200px;        background-color: bisque;    }    

查看更多关于css常见自适应布局_html/css_WEB-ITnose的详细内容...

  阅读:34次