Your page is timing out.
Trying to use a custom font on a simple web page and it works except when I invoke the @font-face command it actually prints that on the page. Any CSS experts explain to me what I'm doing wrong here?
It's a page that displays a speedometer. Here's a link and the code follows:
Code:@font-face { font-family: "TexasLED"; src: url(/var/www/fonts/TEXASLED.TTF); format("truetype"); } <div style="background-image:url(/images/speedo.gif); background-repeat:no-repeat; width:400px; height:380px;"> <div style="position: absolute; top:160px; left: 120; width:200px; height:25px; font-family: TexasLED; font-size: 300%; color: #1589FF"> 120 mph </div>
Want to:
-Find out about the new iBug iPad install?
-Find out about carPC's in just 5 minutes? View the Car PC 101 video
Your page is timing out.
2001 Mustang Convertible Worklog
Indigo Custom Frontend (Flash/Delphi)
Blog
Qube v1.3 Now Available at the mp3Car Store!!!!!!
The simplest IO controller you'll ever use!
it should be this
<style>
font-face {
font-family: "TexasLED";
src: url(/var/www/fonts/TEXASLED.TTF);
format("truetype");
}
</style>
i think this is right ant done it for a while though
Thanks, that was the trick! Funny that none of the tutorials mention the style tag. I guess I ought to learn a little more about CSS.
@colin - oops, I linked to my internal ip. Here's the working link.
Want to:
-Find out about the new iBug iPad install?
-Find out about carPC's in just 5 minutes? View the Car PC 101 video
"Live Free!!!...It's all about Open Source"
Worklog:'09 Altima Android Tablet PC Dash Mount
Old project'05 Nissan Altima Project (Intel D945GCLF2D)
Vimeo Vids:Project Videos
Homepage: HexxWorld.net
Twitter:http://twitter.com/hexxamillion
Bookmarks