css不适用于标题导航栏链接

时间:2016-10-21 11:16:14

标签: html css

我有以下页面 - 标题链接,例如“我们的旅游”和“取货点”不可链接,我不明白为什么。有人可以帮助我理解为什么这不能正常工作。

https://www.comparestonehengetours.com/tour/categories.php?path=Day+Tours

如源文本......

<li onclick="document.location='https://www.comparestonehengetours.com/pick_up.php'">
<a>Pick Up Points</a>
</li>

谢谢!

1 个答案:

答案 0 :(得分:1)

enter image description here.site-content.large-centered的div位于您的菜单上。因此,在该页面中,单击该div而不是菜单。当您检查页面时,您可以看到它。

@media only screen and (min-width: 64.063em).column.large-centered, .columns.large-centered {
margin-left: auto;
margin-right: auto;
float: none;}

删除浮动无,你可以点击菜单。还删除javascript菜单链接直接把链接。好了

相关问题