.main{
width: 500px;
margin: 0px auto;
overflow-x: scroll;
background: #ccc;
min-height: 500px;
position: relative;
}
.inner{
position: absolute;
top: -20px;
width: 50px;
height: 50px;
background: blueviolet;
left: 200px;
display: none;
}
.menu{
color: #000;
text-decoration: none;
font-size: 14px;
padding:0px 0 0 10px;
}
.main .menu:hover >.inner{display: block !important;}
HTML:
<div class="main">
<a href="#" class="menu">Menu <div class="inner"></div> </a>
</div>
幫助我,如果任何人都可以...
請找fiddle
解釋什麼是您的要求properlly – ankur140290
也覺得你的問題小提琴:http://jsfiddle.net/kTKG5/ – ankur140290