Posted on 2011-11-27 21:24
哈希 阅读(695)
评论(0) 编辑 收藏 所属分类:
Js and Jquery 常用总结
b<!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=gb2312" />
<title>无标题文档</title>
</head>
<body>
<div id="yellow" style="position:absolute; left:0px; top:0px; width:200px; height:200px; background-color:#CCFF33; z-index:20">
这是一个黄层
</div>
<div id="blue" style=" overflow:hidden;position:absolute; left:100px; top:100px; width:200px; height:200px; background-color:#3399FF; z-index:1">
这是一个蓝层
<div id="black" style="position:absolute; left:100px; top:100px; width:136px; height:136px; background-color:#000000;">
</div>
</div>
</body>
</html>