我无法单击 div 中的链接 is position:absolute
。它似乎不适用于移动 android,因为它在 Chrome 甚至 ie8 的桌面上运行良好。
一旦我删除它的风格。msg-inner 类仅适用于 jQuery,它具有 scrollTop 没有样式。我已经阅读了很多答案并在内部 div 上使用z-index
或,但没有一个有效。position:relative
我什至尝试position:fixed
在 msg_container 上使用和同样的问题。内部 div 滚动,一切看起来都正确,但只是链接坏了,顺便说一句,偶尔有些会起作用,有些不起作用。我拿走了所有样式,只是在里面放了简单的链接,看看它是否是格式问题,仍然没有。
<div id="msg_container" class="absolute" style="overflow-y:auto;width:100%;height:75%">
<div class="msg_inner">
.... stuff in here with links
</div><!--msg inner-->
</div><!--msg_container-->
CSS
.absolute {
position: absolute;
}