Home >Web Front-end >HTML Tutorial >DIV/CSS implements three columns, the left and right columns are fixed, and the middle column is adaptive_html/css_WEB-ITnose

DIV/CSS implements three columns, the left and right columns are fixed, and the middle column is adaptive_html/css_WEB-ITnose

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

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:




Note: The order of the three divs in HTML is left, Right, middle;

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