Home >Web Front-end >HTML Tutorial >Adaptive width left and right structure DIV CSS_html/css_WEB-ITnose

Adaptive width left and right structure DIV CSS_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 12:29:141241browse


       

           

               

顶部


           

       

       

           
           

                内容
           

           

       

 

css 

.header{border-bottom:1px solid #ccc;margin-bottom:5px;}
.MainContainer{min-width: 960px;max-width: 1600px;}
.sidebar{width:180px;float:left;margin-right: -175px;border-right:1px solid #ccc;min-height:500px;padding:5px;}
.main{float:left;margin-left: 180px;padding:5px;}

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