.top{height:200px;background-color:blue;top:0;left:0;}
.main{height:600px;background-color:red;}
.left{width:200px;height:600px;float:left;background-color:yellow;}
.right{width:400px;height:600px;float:right;background-color:green;}
.foot{height:150px;background-color:#567;margin:0 auto;}
.main{height:600px;background-color:red;}
.left{width:200px;height:600px;float:left;background-color:yellow;}
.right{width:400px;height:600px;float:right;background-color:green;}
.foot{height:150px;background-color:#567;margin:0 auto;}
已采纳回答 / smart_leizi
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-...
2015-12-21
.top{height:100px;width:600px;background-color:#ccc;}
.main{height:500px;width:600px;background-color:red;}
.left{width:30%;height:100%;background-color:blue;float:left}
.right{width:68%;height:100%;background-color:#1d9;float:right}
.foot{height:50px;width:600px;background-color:orange;}
.main{height:500px;width:600px;background-color:red;}
.left{width:30%;height:100%;background-color:blue;float:left}
.right{width:68%;height:100%;background-color:#1d9;float:right}
.foot{height:50px;width:600px;background-color:orange;}
已采纳回答 / 浮光幻影
那得看是什么网站的,头部一般都是左边logo,中间可以放个搜索框,企业站的话右边联系方式,娱乐性网站右边你可以放广告,下面放导航条。也可以左边logo,右边导航条的。一切根据你的喜好来放就可以了,这个是比较灵活的。
2015-12-17