<!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-8" />
<title>首页</title>
<style type="text/css">
<!--
.content{
width:950px;
margin-left:auto;
margin-right:auto;
}
-->
</style>
</head>
<body>
<div class="content">
<div style="width:950px; float:left;">head</div>
<div style="width:950px; float:left;">
<div style="width:190px; float:left; ">body_left</div>
<div style="width:750px; float:right;">body_right</div>
</div>
<div style="width:950px; float:left; text-align:center;">foot</div>
</div>
</body>
</html>
杨君教的div定位
最新推荐文章于 2022-02-24 16:59:45 发布