首页 > 代码库 > 关于层叠顺序z-index

关于层叠顺序z-index

<html>
<head>
<meta http-equiv="content-type" content="text/html;charest=gb2312"/>
<title></title>
<style type="text/css">
<!--
.d{
position:absolute;
top:25px;
right:20px;
left:25px;
bottom:20px;
z-index:1;
}
.dl{
font-size:12px;
position:absolute;
top:30px;
right:20px;
left:10px;
bottom:25px;
z-index:2;
}
-->
</style>
</head>
<body>
<div><img src=http://www.mamicode.com/"images/27-1.gif" width="140" height="150" class="d">
>


关于层叠顺序z-index