i tried using the css line to use an uploaded TTF but its not working. how can i get this to work? <style type="text/css"> @font-face { font-family: "Ace Crikey"; src: url(http://www.location.com/font/ace.ttf); } Thanks
You also need to convert the ttf file into eot, because IE only accepts eot font as the src of @font-face.
BTW i have this new script now and still not working. Im using IE6. <html> <head> <style> @font-face { font-family: "Secret Code"; src: url("/tools/secretcode.ttf") format("truetype"); } </style> <!--[if IE]> <style> @font-face { font-family: "Secret Code"; src: url("/tools/secretcode.eot"); } </style> <![endif]--> <body> <div style="font-family: testing"> Hello, Multiple Browser World! </div> </body> </html> HTML: any help will be appreciated thanks
Use http://ttf2eot.sebastiankippe.com/ or http://www.kirsle.net/wizards/ttf2eot.cgi to get EOT And read this article about implementing http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/