CSS 网页框架 我现在想设计一个页面,上面是两条横幅,下面为一个坚型导航和一个内容显示。加上面的页面信
虽然没有图,但我想你要的效果应该是这样,运行一下代码吧:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>example</title>
<style type="text/css">
<!--
body{ font-size:12px; text-align:center;}
.page{ margin:0 auto; width:1000px;}
.div1{ background:#bbb; height:100px; width:100%;}
.div2{ background:#ddd; height:100px; width:100%;}
.div3{ background:#ccc; float:left; height:500px; width:100px;}
.div4{ background:#eee; float:left; height:500px; width:900px;}
-->
</style>
</head>
<body>
<div class="page">
<div class="div1">div1</div>
<div class="div2">div2</div>
<div class="div3">div3</div>
<div class="div4">div4</div>
</div>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>example</title>
<style type="text/css">
<!--
body{ font-size:12px; text-align:center;}
.page{ margin:0 auto; width:1000px;}
.div1{ background:#bbb; height:100px; width:100%;}
.div2{ background:#ddd; height:100px; width:100%;}
.div3{ background:#ccc; float:left; height:500px; width:100px;}
.div4{ background:#eee; float:left; height:500px; width:900px;}
-->
</style>
</head>
<body>
<div class="page">
<div class="div1">div1</div>
<div class="div2">div2</div>
<div class="div3">div3</div>
<div class="div4">div4</div>
</div>
</body>
</html>
佚名
2024-10-03 18:35:00
类似问题(10)
-
佚名2024-10-03 01:40:14
问别人发给我的网页设计怎么改网页里面的名字
答您好,你就给这个网页重命名就是,比如:about_us.html 直接重命名为你想要的名字就行。希望可以帮到您
-
佚名2024-10-03 09:32:30
问php网站源码上传空间后页面提示这个
答报错已经提示你了,是index.php 第17行,可以看一下这一行的具体代码。不同环境也可以产生问题,您可以在php5和php7来回切换试一下如果依然存在问题可...
-
佚名2024-10-03 20:03:13
问别人发给我的网页设计怎么改网页里面的名字
答您好,你就给这个网页重命名就是,比如:about_us.html 直接重命名为你想要的名字就行。希望可以帮到您
-
佚名2024-10-03 18:38:14
问网页CSS框架,
答<style> #main{ width:1024px; } #top{ background-color:#996633; height:100px...
-
佚名2024-10-03 01:27:54
问帮写用html与css代码写出一个简单的页面框架?
答找div+css写成的html模板是嘛?去baidu搜下"免费模板素材网"吧
-
佚名2024-10-03 08:19:15
问做一个头部的网页和一个底部的网页,在其他页面中如何调用。不用frame。
答不同的系统调用方法不同,比如一般的asp程序调用代码是:<!--#include file="Inc/Head.asp"-->;dede的调用代码是: {...
-
佚名2024-10-03 08:00:00
问岑后面加个页念啥
答该字读音、释义见《中华字海》1584页扫描(部分)附《中华字海》781页扫描(部分)
-
佚名2024-10-03 08:00:00
问网页设计怎样弄二级页面呢?谢谢亲了!
答无语,哪来的代码呀。二级页面还不是和一级页面一样的制作呀,根据你的设计稿进行制作,没法给你代码。一级页面和二级页面之间的关系是链接关系,上下级关系而已。
-
佚名2024-10-03 08:00:00
问网页一级页面二级页面如何通过网页原代码查询 搜索什么能搜到
答我们拿考试吧的网站来举例吧,输入考试吧网站域名进入考试吧首页,这就是一级页面,然后再点击它上面的“英语”或者“计算机“类别,就进入了二级页面,比如说我们刚点击的...
-
佚名2024-10-03 08:00:00
问求一个用js编写的60秒倒计时,需要在页面上显示剩余时间
答var s = 60, t;function times(){ s--;document.form.time.value = s;t = setTimeout(...
风水
起名
网名
- 1 两个字小清新网名
- 2 好看的拼音网名
- 3 成熟稳重的扣扣网名
- 4 关于四个字带神的网名
- 5 布丁少爷情侣网名
- 6 十分感人的昵称
- 7 唯美的快手昵称女生
- 8 对象的三字昵称
- 9 好听的qq昵称女生水瓶座
- 10 钉钉群自己昵称怎么改
说说
- 1 有趣的个性签名和个人说明
- 2 手机qq个性签名历史查看
- 3 情人几说说
- 4 无缘相守的说说
- 5 动了真感情的人的说说
- 6 网上转发说说送手机
- 7 东方明珠看美景说说
- 8 夏天蚊子的说说
- 9 没长成他心目中的样子 说说
- 10 面对死亡的人活回来说说