2012-10-15 39 views

回答

0

,同时试图修复我无意中解决了这个问题另一个问题:

我改变了这一点:

.calendar-event:hover { overflow: visible; background: none repeat scroll 0 0 #FAFAFA; border: solid 1px #999999; width: auto; line-height: 1.5em; height: auto; position: absolute; }

这样:

.calendar-event:hover .event-title { overflow: visible; background: none repeat scroll 0 0 #FAFAFA; border: solid 1px #999999; width: auto; line-height: 1.5em; height: auto; position: absolute; }

而且它解决了我的问题。

0

在你的CSS:

.calendar-event:hover { 
    overflow: visible; 
    background: none repeat scroll 0 0 #FAFAFA; 
    border: solid 1px #999999; 
    width: auto; 
    line-height: 1.5em; 
    height: auto; 
    position: absolute; 
} 

的问题是最后一个属性。删除“位置:绝对;”;这导致div从浏览器的正常定位流程中逃脱。

+0

我会这样做,但我认为我需要保持它,以便悬停元素保持在页面上的所有其他位置上方。 – novicePrgrmr