链接彼此重叠

时间:2013-04-08 12:54:29

标签: jquery html css wordpress

当您将鼠标悬停在我们网站上时,我的网站上的链接(关于,图库和联系人)会重叠。当您在“关于”选项卡中间放置鼠标时,“图库”选项卡会突出显示,同样当您在“图库”选项卡上中途使用鼠标时,“联系人”选项卡会突出显示。从底部标签处理出现同样的问题。

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

1 个答案:

答案 0 :(得分:0)

试试这个

.container {
    overflow-y: hidden;
}

并将width#about-red#gallery-echo的{​​{1}}调整为至少#contact-events,这样您就不会获得水平滚动条。

900px