使用 imagemapster jQuery 脚本 (tooltip.js)。我的工具提示需要是 position:absolute
。这运行完美,除了:Windows XP/7 IE8。这是测试页:http://cjehost.com/qt/panorama/testpages/examples/page2.html
这是 html:
<div class="blkBG pg1ToolTip1">
The last pair of chromosomes determines sex: Men usually have one X chromosome and one Y chromosome.
</div>
这是相关的CSS:
.blkBG{border: none; background-image:url(http://cjehost.com/qt/panorama/testpages/examples/images/bg-black.png) !important;padding:10px; color:white; -moz-border-radius: 3px; -webkit-border-radius: 3px;border-radius:3px; opacity: 0.9;position:absolute !important;line-height:1.15em;}
最佳答案
我没有立即看到它,但 ie8 没有响应。我添加了 respond.js,它运行良好。
关于javascript - 带有 imagemapster 的 ie8 - 位置 :absolute not working,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41366563/