开发者

Custom tooltip not displaying in correct position

I have a custom tooltip displaying on a graph. The tooltip arrow mark is to the right of where it should display. What am I doing wrong?

Please see the image here:

Custom tooltip not displaying in correct position

http://imageshack.开发者_StackOverflow社区us/photo/my-images/13/arrowmark.png/

This is my CSS:

.mouse-value {
    font-size: 14px;
    font-weight:bold;
}
.mouse-value:after {
    content: "";
    border-color: #FFFF99 transparent transparent transparent;
    border-style: solid;
    border-width: 20px;
    width: 0;
    height: 0;
    position: absolute;
    bottom: -40px;
    left: 10px
}


Seems position is right for the bottom left corner, try adjusting left and bottom

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜