1、如何让网页设计中的层相对于屏幕居中
最好别用Layer1这样的层,现在都用div盒子做结构在用css表现,居中很简单http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></A>http://www.w3.org/1999/xhtml"></A>无标题文档 此处显示 class "left" 的内容margin: 0px auto;这句是关键
2、html网页设计中,怎样让一个页面打开时下面的内容自动在最上面显示?
用绝对定位,相对于浏览器居上,层叠在最上面就可以解决了!
3、网页设计制作中.大方框里的方框如何移到顶端
没有图也不清楚你的问题。
设计制作中,代码的写法从上到下,页面显示的也是从上到下。
你写的第一层就是在上面。
4、请问网站顶部的那幅图叫什么?在网页设计中那叫做什么?
banner 图片
楼下 不要和我抢
5、用div+css写如图所示代码, 网页设计在顶部左边,而编辑在顶部的右边,下面还有一条分段线?请问如何写?
<!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>test</title>
<style type="text/css">
div.main{width:400px; height:200px; border:1px solid #CCC}
div.title{border-bottom:1px solid #CCC; padding:10px; font:14px Tahoma, Geneva, sans-serif; clear:both; overflow:hidden}
.right{float:right;}
</style>
</head>
<body>
<div class="main">
<div class="title">
网页设计<span class="right"><a href="#"编辑</a></span>
</div>
</div>
</body>
</html>
这个可以吗?
6、网页设计时如何让网页居于屏幕正中间
在<head></head>标签里写样式文件<style></style>
样式文件里先写上
* { text-align:center; }
body { margin: 0 auto;}
这样整个页面就居中了