Zum Inhalt springen

Font mit css funktioniert nicht

Erstellt am 13. September 2004 · 1 Antwort · letzte Antwort am 13. September 2004

Tags: HTML & CSS, Frage

Sichtfeld ·

hallo zusammen! Ich habe ein kleines Problem mit dem Font in meiner Navi... bei active kommt erscheint bei der Navigation eine Serifenschrift statt der Verdana. Hat mir jemand ein kleiner Tipp? schon mal viele vielen dank!

.navigation {
font-family: "Verdana";
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
color: #FFFFFF;
}

a.navigation {
font-family: "Verdana";
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
color: #FFFFFF;
}

http://www.subaru32.ch/index.php?id=4

jenses ·

Na, du solltest schon im CSS wie im HTML
die selbe Bezeichnung für deine Klasse benutzen.

Im Stylesheet steht :
a.navigation { ... }

Im Quelltext der HTML-Ausgabe steht aber :
<a href ... class="navigationact">...</a>

Mach mal aus a.navigation navigationact,
dann sollte das klappen.

viele Grüße
jenses