I've a problem with the tooltip: I want to show the tooltip over the div.container, I tried to edit z-index(1 in div.container, 9999 in tooltip), but nothing works.
jsfiddle: http://jsfiddle.net/9mss22xz/
div.tip {
background-color: #f3f3f3;
border: solid 1px #cfcfcf;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
height: 55px;
width: 55px;
float: left;
margin: 4px;
text-align: center;
position: relative;
}
div#container {
width: 200px;
height: 200px;
overflow-y: scroll;
border: 2px solid black;
margin: auto;
}
Can you help me?
Simply add another wrapping container and add position: relative
to the main one. Please see my Working fiddle here .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.