gpt4 book ai didi

jquery - 相互重叠的链接

转载 作者:行者123 更新时间:2023-11-28 13:05:19 25 4
gpt4 key购买 nike

当您将鼠标悬停在我网站上的链接(关于、画廊和联系方式)上时,它们会重叠。当您将鼠标放在“关于”选项卡的中间时,图库选项卡会突出显示,同样,当您将鼠标放在图库选项卡的中间时,联系人选项卡会突出显示。同样的问题发生在底部选项卡上。

http://www.redechoevents.co.uk/

/*Logo
------------------------------------------------------------ */
#logo-image {
position: absolute;
left: 100%;
bottom: 0;
width: 217px;
height: 628px;
z-index: 2;
overflow: hidden;
}

#about {
position: absolute;
left: 0;
top: 0;
height: 89px;
width: 336px;
}

span.title-link {
font-size: 6.8em;
font-weight: bold;
font-family: 'Titillium Web', Arial, sans-serif;
text-decoration: none;
line-height: 93px;
cursor: pointer;
opacity: 0;
display: inline-block !important;
}

span.title-link a {
color: #FFF;
text-decoration: none;
display: inline-block !important;
}

.title-link a:hover {
color: #E91F4C;
display: inline-block !important;
}

#about-red {
left: -104px;
width: 545px;
}

#logo-red {
height: 93px;
width: 209px;
position: absolute;
left: 336px;
}

/*Echo
------------------------------------------------------------ */
#gallery {
position: absolute;
left: 0;
top: 0;
height: 92px;
width: 434px;
}

#gallery-echo {
left: -202px;
width: 714px;
}

#logo-echo {
height: 93px;
width: 280px;
position: absolute;
left: 434px;
}

/*Events
------------------------------------------------------------ */
#contact-events {
left: -216px;
width: 862px;
}

#contact {
position: absolute;
left: 0;
top: 0;
height: 92px;
width: 448px;
}

#logo-events {
height: 93px;
width: 414px;
position: absolute;
left: 448px;
}

最佳答案

试试这个

.container {
overflow-y: hidden;
}

并调整#about-red#gallery-echo#contact-events宽度至少 900px,这样您就不会看到水平滚动条。

#about-red,
#gallery-echo,
#contact-events {
width: 900px;
}

关于jquery - 相互重叠的链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15879597/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com