[英]Links un-clickable in Chrome & Firefox until developer tools are opened
I'm doing some consulting for a site that is about to be redone, but still has to at least partially function in the mean time. 我正在为将要重做的网站做一些咨询,但在此期间仍必须至少部分起作用。 At the moment my biggest issue is that on some pages the links are not clickable in FF or Chrome when the page loads, but by some magic when I open the developer tools (f12) for either everything starts working.
目前,我最大的问题是,某些页面上的链接在页面加载时无法在FF或Chrome中单击,但是当我打开开发人员工具(f12)时,这一切都可以正常工作,这听起来有些不可思议。 Additionally, when the page initially loads trying to 'inspect element' does not work properly, but it works fine after the dev tools are open.
此外,当页面最初加载时尝试“检查元素”不能正常工作,但是在打开开发工具后它可以正常工作。 My best guess here is that there's something else on the page that's effectively 'covering up' the rest of the page, but I haven't been able to find it yet.
我最好的猜测是,页面上还有其他东西可以有效地“覆盖”页面的其余部分,但是我还没有找到它。 I've tried adding a z-index and playing with positioning to no avail, so if anyone has seen this before or has any thoughts I'd be most appreciative.
我尝试添加z-index并使用定位失败,因此,如果有人以前看过此书或有任何想法,我将不胜感激。
https://www.petermichaelfoundation.org/events.php?title=Upcoming+Events&type=2 and https://www.petermichaelfoundation.org/news.php?title=Foundation+News&id=1 are both good examples of the problem in action. https://www.petermichaelfoundation.org/events.php?title=Upcoming+Events&type=2和https://www.petermichaelfoundation.org/news.php?title=Foundation+News&id=1都是很好的例子在行动。
Your table containing the content has z-index: -2 ; 您的包含内容的表的z-index:-2 ; As a result, it is being placed below the body.
结果,它被放置在身体下方。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.