lynx
0
Hallo HaBos!
Ich habe bei einer Website eine "Custom Font" für die Sidebar und den Titel der Seite benutzt.
Jetzt ist es so, dass auf Rechnern, wo diese Schriftart NICHT installiert ist, die natürlich nicht angezeigt wird und eine langweilige Standardschrift erscheint, etwa "Arial" oder so.
Wie kann ich das ändern??
Probiert habe ich den Trick von folgender Stelle:
http://www.howtoplaza.com/how-to-use-custom-fonts-on-your-website-with-css
Doch das mit
und
funktioniert bei mir leider nicht. :-/
Danke im Voraus für Eure Hilfe!
Viele Grüße,
lynx
Ich habe bei einer Website eine "Custom Font" für die Sidebar und den Titel der Seite benutzt.
Jetzt ist es so, dass auf Rechnern, wo diese Schriftart NICHT installiert ist, die natürlich nicht angezeigt wird und eine langweilige Standardschrift erscheint, etwa "Arial" oder so.
Wie kann ich das ändern??
Probiert habe ich den Trick von folgender Stelle:
http://www.howtoplaza.com/how-to-use-custom-fonts-on-your-website-with-css
Doch das mit
Code:
[COLOR=#a1a100]@font-face {[/COLOR]
[COLOR=#000000][B]font-family[/B][/COLOR][COLOR=#00aa00]:[/COLOR] cool_font[COLOR=#00aa00];[/COLOR]
src[COLOR=#00aa00]:[/COLOR] [COLOR=#993333]url[/COLOR][COLOR=#00aa00]([/COLOR][COLOR=#ff0000]'cool_font.ttf'[/COLOR][COLOR=#00aa00])[/COLOR][COLOR=#00aa00];[/COLOR]
[COLOR=#00aa00]}[/COLOR]
Code:
p.custom_font[COLOR=#00aa00]{[/COLOR]
[COLOR=#000000][B]font-family[/B][/COLOR][COLOR=#00aa00]:[/COLOR] cool_font[COLOR=#00aa00];[/COLOR] [COLOR=#808080][I]/* no .ttf */[/I][/COLOR]
[COLOR=#00aa00]}[/COLOR]
Danke im Voraus für Eure Hilfe!
Viele Grüße,
lynx