0

Extjs アプリケーションでリンクを使用していますが、ホバー状態の問題に直面しています。

リンクを右クリックすると、外側をクリックするまでホバー状態が表示されます。外側をクリックすると、正常になります。

そのリンクからマウスを離すとすぐに通常の状態を表示したい。

これが私のCSSです。

.linkbold{
    color:#0080cc;
    font-family:Tahoma;
    font-size:11px;
    text-decoration:none;
    font-weight:bold !important;
}
a.linkbold:link, a.linkbold:visited{
    color:#0080cc;
    font-family:Tahoma;
    font-size:11px;
    text-decoration:none;
    background-color: #red;
    font-weight:bold !important;
    display:block;
}
a.linkbold:hover{
    color:#000000;
    font-family:Tahoma;
    font-size:11px;
    text-decoration:none;
    font-weight:bold !important;
}
a.linkbold:active{
    color:#000000;
    font-family:Tahoma;
    font-size:11px;
    text-decoration:underline !important;
    font-weight:bold !important;
    display:block;
}
4

1 に答える 1

0

a.linkbold:activeの色を変更し、アクティブ状態の下線を削除しました。アクティブ状態の色が通常に変わります。

于 2012-12-20T07:05:32.147 に答える