0

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

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;
}
4

1 回答 1

0

试试这个

.container {
    overflow-y: hidden;
}

并至少调整widthfor和to #about-red,这样你就不会得到水平滚动条。#gallery-echo#contact-events900px

#about-red,
#gallery-echo,
#contact-events {
    width: 900px;
}
于 2013-04-08T13:10:44.063 回答