Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
How to make font file used for text? makes no sense read, u'll know what i mean.
Old 04-13-2007, 05:20 PM How to make font file used for text? makes no sense read, u'll know what i mean.
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
Hi,

title of this made no sense, i know but hopefully you will get what i need to know, from this...

i have some fonts, like .ttf files and i want to use one for some text on a webpage, what css do i need to use to tell it to use that?

like in css or something.

Thanks for you help, im googling it but cant find what i want thanks everyone i know someone will know.

Dan
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
 
Register now for full access!
Old 04-13-2007, 06:18 PM Re: How to make font file used for text? makes no sense read, u'll know what i mean.
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
You cannot do that on pure CSS .
It's in w3c recommendations, but no browser integrate support for this.
It's a specific css2 attribute, called font-face that control that.
http://www.w3.org/TR/REC-CSS2/fonts.html#q47

But, as you can see from this chart, support for it is pretty bad...
http://www.westciv.com/style_master/..._concepts.html
(complete charts here: http://www.westciv.com/style_master/...ort/index.html)

But, on the other hand, I've found explanation on how to enable it on IE.
http://www.ssi-developer.net/design/embed-font.shtml

And another interesting article, about alternatives:
http://www.alistapart.com/articles/dynatext/


Note that http://www.alistapart.com is worth browsing if you want to learn about CSS, and design / web dev tips.
__________________
Only a biker knows why a dog sticks his head out the window.

Last edited by tripy; 04-13-2007 at 06:26 PM..
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 04-13-2007, 06:31 PM Re: How to make font file used for text? makes no sense read, u'll know what i mean.
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
The best option I know of is sIFR http://www.mikeindustries.com/sifr/
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
Reply With Quote
View Public Profile
 
Old 04-14-2007, 11:50 AM Re: How to make font file used for text? makes no sense read, u'll know what i mean.
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
I have to second REpublikan's advice, SIFR is the way to go if you want to use non-standard fonts.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-14-2007, 04:32 PM Re: How to make font file used for text? makes no sense read, u'll know what i mean.
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
u know i really honestly though it would be something like

.somin
{
font: url('fonts/font.ttf');
}

Wouldnt that be easier? WHY!?!?
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 04-14-2007, 09:13 PM Re: How to make font file used for text? makes no sense read, u'll know what i mean.
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
Quote:
Originally Posted by dansgalaxy View Post
u know i really honestly though it would be something like

.somin
{
font: url('fonts/font.ttf');
}

Wouldnt that be easier? WHY!?!?
Read through those links that Trippy put up. You will see that there is something akin to that in the W3C recommendations however, there is very poor browser support for it.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How to make font file used for text? makes no sense read, u'll know what i mean.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.23310 seconds with 12 queries