Css 链接不是';不可点击。锚不起作用
我的页面顶部有社交媒体图标的锚定链接。据我所知,链接和锚点的编码是正确的 但由于某些原因,我无法使图标可点击 网站是www.cleantelligent.com 以下是图标本身的代码:Css 链接不是';不可点击。锚不起作用,css,hyperlink,anchor,social-networking,Css,Hyperlink,Anchor,Social Networking,我的页面顶部有社交媒体图标的锚定链接。据我所知,链接和锚点的编码是正确的 但由于某些原因,我无法使图标可点击 网站是www.cleantelligent.com 以下是图标本身的代码: <!--SOCIAL LINKS--> <style> #UpperLinks{ position: absolute; left: 50%; margin-left: 380px; white-space: nowrap; padding-top: 27px;} #UpperLi
<!--SOCIAL LINKS-->
<style>
#UpperLinks{ position: absolute; left: 50%; margin-left: 380px; white-space: nowrap; padding-top: 27px;}
#UpperLinks img{ width:auto;}
#PhoneTop{ font-family: 'News Cycle', sans-serif; color:#D1D1D1; position: absolute; left: 50%; margin-left: 345px; white-space: nowrap; margin-top: -12px;}
</style>
<div id="PhoneTop">
<img style="position:relative; top: 8px;" src="/wp-content/themes/cleantelligent/images/phonetrans.png" />(801) 375-0375</div>
<div id="UpperLinks">
<a href="http://www.linkedin.com/company/cleantelligent_software" target="_blank" >
<img height="22" width="22" src="/wp-content/themes/cleantelligent/images/linkedin.png" /></a>
<a href="https://twitter.com/#!/CleanTelligent1" target="_blank" >
<img height="22" width="22" src="/wp-content/themes/cleantelligent/images/twitter.png" /></a>
<a href="http://www.facebook.com/CleanTelligent" target="_blank" >
<img height="22" width="22" src="/wp-content/themes/cleantelligent/images/facebook.png" /></a>
<a href="https://www.youtube.com/CTsoftware" target="_blank" >
<img class="socialicons" height="22" width="22" src="/wp-content/themes/cleantelligent/images/YouTubePlay.png" /></a>
</div>
<!--END OF SOCIAL LINKS-->
#上部链接{位置:绝对;左侧:50%;左边距:380px;空白:nowrap;顶部填充:27px;}
#上联img{width:auto;}
#PhoneTop{font family:'News Cycle',sans serif;颜色:#D1D1D1;位置:绝对;左侧:50%;左侧边距:345px;空白:nowrap;顶部边距:-12px;}
(801) 375-0375
将“上链”设置为大于5的z索引或删除此z索引。它覆盖了你的链接
<div class="slide" style="position: absolute; top: 0px; left: 0px; display: block; z-index: 5; ............
</div></div>
您的问题不在您发布的代码段中。您已经创建了一个id为slider-1
的
,它覆盖了您创建的链接。覆盖链接的部分是透明的,因此不明显。由于链接被另一个
覆盖,您将无法单击它们
试着给链接一个比覆盖它们的
更大的z索引。我刚试过,链接对我有效。天哪。经常有这么简单的答案,你应该想到,这不是很有趣吗?唉。。非常感谢你!