html怎么上下左右分div分,上下左右布局(DIV+CSS)

#head{

height:40px;

background-color:#0033CC;

margin:0;

}

#content{

background:#CCCCCC;

height:200px;

margin:0;

}

#left{

width:20%;

height:200px;

background:#CCCC66;

float:left;

margin:0;

}

#c{

width:60%;

height:200px;

background:red;

margin:0;

float:left;

}

#right{

width:20%;

height:200px;

background:#339966;

float:right;

margin:0;

}

#foot{

background:#0099CC;

height:40px;

margin:0;

}

left
content

原文:http://www.cnblogs.com/8765h/p/3512116.html

你可能感兴趣的:(html怎么上下左右分div分)