html左右布局模板-html上下左右
在网页布局中,可以将页面内容模块分为左右两部分的布局方式

<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
body,html {
margin: 0;
padding: 0;
height: 100%;
color: #fff;
}
.left,
.right {
float: left;
width: 50%;
height: 100%;
}
.left { background-color: red; }
.right { background-color: #000; }
</style>
</head>
<body>
<div class="left">
左边部分
</div>
<div class="right">
右边部分
</div>
</body>
</html>
html上下左右

html实现上下左右四个板块,可以通过以下代码实现,如果是新手的话,建议使用DW里面的table制作,更加方便快捷
<frameset rows="136,*,18" cols="*" frameborder="no" border="0"
framespacing="0">
<frame src="LoginFile/" name="topFrame"
scrolling="No" noresize="noresize" id="topFrame" title="topFrame" />
<frameset rows="*" cols="182,*" framespacing="0" frameborder="no"
border="0">
<frame src="LoginFile/" name="leftFrame"
scrolling="auto" noresize="noresize" id="leftFrame" title="leftFrame" />
<frame src="" name="iframe" id="iframe" title="iframe"
/>
</frameset>
<frame src="LoginFile/"
name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame"
title="bottomFrame" />
</frameset>
<noframes>
<body style="MARGIN: 0px">
</body>
</noframes>
html布局策略

<style>
.header { height:80px; }
.container .wrap { width:1000px; margin:0 auto; background:#0f0; border:2px solid #00f; }
.hTit { height:100px; font:700 26px 'Arial'; line-hieght:100px; text-align:center; }
.fArea .sub { float:left; width:700px; }
.fArea .sub { right; width:304px; }
.about .pic { height:100px; padding-bottom:10px; }
.list { float:left; width:335px; height:auto !important; height:700px; min-hieght:700px; padding-left:10px; }
.ad_1 { height:300px;}
</style>
<div class="header"><img></div>
<div class="container">
<div class="wrap">
<h1 class="hTit">TMNT(2007)</h1>
<div class="fArea clearfix">
<div class="sub clearfix">
<div class="pic"></div>
<div class="list">
<dl><dt></dt><dd></dd></dl>
</div>
<div class="list">
<dl><dt></dt><dd></dd></dl>
</div>
</div>
<div class="main">
<div class="ad_1"><img></div>
<div class="intro"></div>
</div>
</div>
</div>
</div>
-
果盘绘画图片大全简单创作方法快速制作技巧2024-01-02 16:57:54
-
小年插画图片创作方法快速制作技巧2024-01-02 16:57:20
-
小年绘画作品制作技巧2024-01-02 16:55:45
-
小年插画图片创作方法快速制作技巧2024-01-02 16:55:02
-
立春插画图片如何制作2024-01-02 16:54:19
-
立春插画图片创作方法快速制作技巧2024-01-02 16:53:32






扫描二维码添加客服微信
扫描二维码关注