码迷,mamicode.com
首页 > 其他好文 > 详细

用idv做下拉列表,很重要

时间:2015-05-08 12:32:24      阅读:122      评论:0      收藏:0      [点我收藏+]

标签:

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
.fengjingqu {
    position:relative;
    margin:0 auto;
    width: 100px;
    height: 50px;
    z-index: 1;
    background-color:#FF0;
    overflow:hidden;
    
}
.jieshao {
    position:relative;
    margin:0 auto;
    width: 100px;
    height: 50px;
    z-index: 2;
    background-color:#3F6;
    overflow:visible;
}

#apDiv2 {
    position:absolute;
    background-color:#F00;
    margin:0 auto;
    top:50px;    
    width: 100px;
    height: 540px;
    }
    
    
    
</style>
</head>

<body>
<div id="apDiv1" class="fengjingqu" onmouseover="this.className=‘jieshao‘" onmouseout="this.className=‘fengjingqu‘">风景区
<div id="apDiv2">
  <p>潭溪山</p>
  <p>云明山</p>
  <p>瀑布群</p>
  <p>蝴蝶谷</p>
  <p>杏花村</p>
  <p>&nbsp;</p>
</div>

</div>
</body>
</html>

 

用idv做下拉列表,很重要

标签:

原文地址:http://www.cnblogs.com/275147378abc/p/4487159.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!