CSS funktioniert nicht bei Opera 7.02

Status
Nicht offen für weitere Antworten.
I

i125

Hallo zusammen,

ich habe da den folgenden CSS Style:

.text { font-family: Tahoma, sans-serif; font-size: 11px;
font-style: normal; line-height: normal; font-weight: normal; font-variant: normal;
text-decoration: none}

Der Funktioniert bei IE 5.5, Netzcape 7.01, Mozilla 1.3b aber nicht beim Opera 7.02

Er erkennt nicht die Schriftart, woran kann das liegen????

CU

Alexander
 
NEEEE funtzt nicht:

.text { font-family: Verdana, Helvetica, sans-serif; font-size: 11px;
font-style: normal; line-height: normal; font-weight: normal; font-variant: normal;
text-decoration: none}

Cu
Alex
 
Sorry kein Schimmer wo dein Problem ist

Code:
<span style="font-family: Verdana, Helvetica, sans-serif;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-decoration: none">
Dies hier ist ein crazy Test</span>

Wird bei mir im Opera 7.02 ohne Probleme richtig angezeigt. Weiss nicht was du da machst.
 
????

Hier die komplette css.CSS Datei:


.menue_haupt { font-family: Verdana, sans-serif;
font-size: 12px; font-style: normal; line-height: normal;
font-weight: bold; font-variant: normal; text-decoration: none;
a:link {color:#697b8e;}
a:visited {color:#697b8e;}
a:active {color:#FF6600;}
a:hover {color:#FF6600;} }

.text { font-family: Verdana, sans-serif; font-size: 11px;
font-style: normal; line-height: normal; font-weight: normal; font-variant: normal;
text-decoration: none}

.felder {

BODY {
scrollbar-arrow-color:#000000;
scrollbar-base-color:#f0f0f0;
scrollbar-shadow-color:#f0f0f0;
scrollbar-face-color:#f0f0f0;
scrollbar-highlight-color:#f0f0f0;
scrollbar-darkshadow-color:#f0f0f0;
scrollbar-track-color:#f0f0f0;
scrollbar-3d-light-color:#f0f0f0;
}.unnamed1 { text-decoration: none}

}

Vielleicht ist da irrgendwo ein Fehler drinn, oder gegebenenfals in der verknüfpung
 
Hi
Du hattest zu viele geschwungene Klammern. Ich habe die mal entfernt, kann aber leider nicht testen ob es funzt :(
PHP:
.menue_haupt { font-family: Verdana, sans-serif; 
font-size: 12px; font-style: normal; line-height: normal; 
font-weight: bold; font-variant: normal; text-decoration: none; 
a:link {color:#697b8e;} 
a:visited {color:#697b8e;} 
a:active {color:#FF6600;} 
a:hover {color:#FF6600;}

.text { font-family: Verdana, sans-serif; font-size: 11px; 
font-style: normal; line-height: normal; font-weight: normal; font-variant: normal; 
text-decoration: none} 


BODY { 
scrollbar-arrow-color:#000000; 
scrollbar-base-color:#f0f0f0; 
scrollbar-shadow-color:#f0f0f0; 
scrollbar-face-color:#f0f0f0; 
scrollbar-highlight-color:#f0f0f0; 
scrollbar-darkshadow-color:#f0f0f0; 
scrollbar-track-color:#f0f0f0; 
scrollbar-3d-light-color:#f0f0f0; 
}.unnamed1 { text-decoration: none}
P.S. Kann man die ganze Sache wirklich so verschachteln wie du es gamacht hast?
 
@The_Fang, dass dachte ich zuerst auch, aber wenn du dir deinen Code jetzt mal anschaust, dann wird dir auffallen, dass die Klasse menue_haupt zwar aufgeht { aber nicht mehr zu } also musste das wohl schon so sein.
 
Stimmt. Aber das mit den Klammern hat auch vorher nicht so ganz gestimmt.

Ansonsten probier mal hinter das letzte "none" noch nen Semikolon zu setzen, Browser können sehr pingelig sein bei sowas...

Oder frage einfach mal ihn hier.
 
Status
Nicht offen für weitere Antworten.
Zurück