Home  >  Article  >  Web Front-end  >  DIV/CSS 实现三列,左右两列固定,中间一列自适应_html/css_WEB-ITnose

DIV/CSS 实现三列,左右两列固定,中间一列自适应_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:28:211102browse

CSS:

    #left{width:200px;min-height:400px;float:left;}
    #center{min-height:400px;margin:0 210px;}
    #right{width:200px;min-height:400px;float:right};

 Html:


  

  
  
  
  

  

 

注意:HTML中三个div的顺序是 左、右、中;

 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn