<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>div布局-div与css搭配,不建议内部style方式</title>
</head>
<body>
<div style=" 100%;height: 708px">
<div style="background: green; 100%;height: 10%">头部</div>
<div style="background: #f8f8f8; 20%;height: 80%;float: left;">导航栏</div>
<div style="background: #f0f0f0; 80%;height: 80%;float: left;">我是ifrmae框架</div>
<div style="background: red; 100%;height: 10%;clear: left">尾部</div>
</div>
</body>
</html>
html5-div布局
天道酬勤,厚积薄发。
君子之行,静以修身,俭以养德。
非淡泊无以明志,非宁静无以致远。
如有恒,何须三更起,半夜眠;最怕莫,三天打鱼两天晒网,竹篮打水一场空。