Hallo!
Ich versuche derzeitig andere Schriftarten auf meiner Homepage einzubinden.
Derzeitig habe ich eine CSS Datei:
Nun möchte ich statt font-family: Arial eine TTF Schriftart einbinden, und zwar: http://www.dagere.de/Altdeutsch.TTF
Um das erstmal auszuprobieren, habe ich folgenden Code genommen:
Dieser ist auch auf http://www.dagere.de/test.html. Leider wird dieser Text weder im Internet Explorer noch im FireFox in Altdeutsch angezeigt. Kann mir da jemand helfen?
Ich versuche derzeitig andere Schriftarten auf meiner Homepage einzubinden.
Derzeitig habe ich eine CSS Datei:
Code:
body { color: #000000; font-size: 10pt; font-family:Arial; background-image:url(background.jpeg); background-width=100%; no-repeat; bgproperties=fixed;font-weight:lighter;background-repeat:repeat-x}
td {font-size: 10pt;}
a:link { color:#AAAA00 ;font-size:10pt; font-weight:120; text-decoration : none; font-family:Arial;}
a:visited { color:#AAAA00 ;font-size:10pt; font-weight:120; text-decoration : none; font-family:Arial;}
a:hover { color:#AAAA00 ;font-size:10pt; font-weight:120; text-decoration : none; background: #444400; font-family:Arial;}
a:active { color:#AAAA00 ;font-size:10pt; font-weight:120; text-decoration : none; background: #444400; font-family:Arial;}
h1 {color: #000000}
Nun möchte ich statt font-family: Arial eine TTF Schriftart einbinden, und zwar: http://www.dagere.de/Altdeutsch.TTF
Um das erstmal auszuprobieren, habe ich folgenden Code genommen:
Code:
<html>
<head>
<title>Titel</title>
<style type="text/css">
@font-face { font-family:'Schwaben Alt'; src:url(http://www.dagere.de/Altdeutsch.TTF); format(TrueType); }
</style>
</head>
<body>
<p style="font-family:Schwaben Alt">Text in Altdeutsch</p>
</body>
</html>