Warum wird im Mozilla richtig dargestellt und nicht im IE?
Warum wird im Mozilla richtig dargestellt und nicht im IE?
- css
Warum wird folgendes nur im Mozilla richtig dargestellt und nicht im IE? Undwas kannsch tun damit es auch beim IE so ist?
Meine navi.css Datei sieht so aus!
body { background-color:#b4b4b4; font-family:Tahoma; }
// UNWICHTIG!
.tdklein { font-size:10pt }
a:link { text-decoration:none; color:#121212; font-weight:bold; }
a:visited { text-decoration:none; color:#121212; font-weight:bold; }
a:hover { text-decoration:none; color:#121212; font-weight:bold; }
a:active { text-decoration:none; color:#121212; font-weight:bold; }
a:focus { text-decoration:none; color:#121212; font-weight:bold; }
// WICHTIG! Bei diesem Script passiert folgendes beim Mozilla:
Die Farbe des Links wechselt und dir Größe auch
sobald ein anderer Link angeklickt wird kriegt er neue Werte und der andere Link geht in siene standart form zurück!
WARUM KLAPPT DAS BEIM IE NICHT???!?!?!? PLS HELP!!!!!!!
wenn es geht OHNE javascript ...........
a:focus span#nh
{
text-decoration:none;
color:#d70031;
font-weight:bold;
font-size:14pt
}
a:focus span#n9
{
text-decoration:none;
color:#0d428d;
font-weight:bold;
font-size:14pt
}
a:focus span#n5
{
text-decoration:none;
color:#009f71;
font-weight:bold;
font-size:14pt
}
a:focus span#n1
{
text-decoration:none;
color:#ffe39d;
font-weight:bold;
font-size:14pt
}
mfg phil
Hi,
a:focus { text-decoration:none; color:#121212; font-weight:bold; }
// WICHTIG! Bei diesem Script passiert folgendes beim Mozilla:
Die Farbe des Links wechselt und dir Größe auch
sobald ein anderer Link angeklickt wird kriegt er neue Werte und der andere Link geht in siene standart form zurück!
WARUM KLAPPT DAS BEIM IE NICHT???!?!?!? PLS HELP!!!!!!!
wenn es geht OHNE javascript ...........
Weil IE nicht in der Lage ist, :focus korrekt zu behandeln.
cu,
Andreas
versuch :active anstelle von :focus