ie darstellungs problem
soel
- css
0 lukas0 soel
1 Snafu1 Gunnar Bittersmann
hallo ich habe folgendes css:
li {
margin:0px;
margin-left:25px;
}
li span{
display:none;
visibility:hidden;
color:#ccc;
}
li a {
margin:0px;
color:#fff;
text-decoration:none;
}
li a:hover {
margin:0px;
color:#ccc;
}
li a:focus {
margin:0px;
color:#fff;
}
li:hover span{
display:inline;
visibility:visible;
color:#FFF;
margin-left:-12px;
}
in firefox und mozilla funktioniert alles einwandfrei, allerdings wird im ie der inhalt von "span" bei hover nicht angezeigt!! wat den da los??
danke für antwort
soel
li:hover span{
display:inline;
visibility:visible;
color:#FFF;
margin-left:-12px;
}
Versuchs mal mit display:block
funktioniert leider auch nicht,
mit display block wird der inhalt von li bei hover jetzt ausgeblendet..
li:hover span{
display:inline;
visibility:visible;
color:#FFF;
margin-left:-12px;
}Versuchs mal mit display:block
funktioniert leider auch nicht,
mit display block wird der inhalt von li bei hover jetzt ausgeblendet..
Wie sieht es aus mit "li a:hover span"
Gruß Ralf
Hallo!
in firefox und mozilla funktioniert alles einwandfrei, allerdings wird im ie der inhalt von "span" bei hover nicht angezeigt!! wat den da los??
Welche Version vom IE? Der IE6 kennt zum Beispiel :hover nur bei Hyperlinks.
Hello out there!
li:hover span{...}
in firefox und mozilla funktioniert alles einwandfrei, allerdings wird im ie der inhalt von "span" bei hover nicht angezeigt!! wat den da los??
IE wendet die Pseudoklasse ':hover' nur für Links an.
See ya up the road,
Gunnar
ok, und wie kann ich das problem umgehen?
wenn ich span innerhalb von a setze dann funktioniert es leider auch nicht... hmmm wie muss ichs anstellen??
danke
soel
Hello out there!
li:hover span{...}
in firefox und mozilla funktioniert alles einwandfrei, allerdings wird im ie der inhalt von "span" bei hover nicht angezeigt!! wat den da los??
IE wendet die Pseudoklasse ':hover' nur für Links an.
See ya up the road,
Gunnar
Hello out there!
ok, und wie kann ich das problem umgehen?
wenn ich span innerhalb von a setze dann funktioniert es leider auch nicht... hmmm wie muss ichs anstellen??
Gemäß den Tips für Fragende dein Problem beschreiben. Und bitte kein TOFU.
See ya up the road,
Gunnar