hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Design and Content : Downloadable fonts, CSS help
Reply

Web Design and Content Subjects include, HTML, graphics, editors, CSS, Flash, graphics creation, placing of ads, ad serv companies, copyright, content and nearly anything else design related. Also talk about businesses that provide design services. If you link to your site, you must post in Web Site Reviews.
Forum Jump

Downloadable fonts, CSS help

Reply Post New Thread In Web Design and Content Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-02-2003, 06:57 PM
Tom_Spencer Tom_Spencer is offline
Newbie
 
Join Date: Jun 2003
Location: nr. Leeds, UK
Posts: 9

Downloadable fonts, CSS help


I've been wanting to use a particular font on my webpage but it is a custom font that very few people will have in .TTF format.

The font appears to be downloading successfully but then does not display.

I used Microsoft WEFT to convert the TTF to .eot

In my <style> element i have the following code:

@font-face {
font-family: "Psycho Poetry";
font-style: normal;
font-weight: normal;
src: url(http://kill.it/killit/fonts/PSYCHOPO.eot);
}



i then use:

font-family: "Psycho Poetry", verdana, ......., sans-serif; for the relevent part of the page in the style sheet.

When the page is accessed it will display with verdana.
Has anyone tried this before?
Have I missed something?
Could it be a problem with conversion to .eot?

Any help will be greatly appreciated.

Reply With Quote


Sponsored Links
  #2  
Old 09-02-2003, 09:34 PM
rrdega rrdega is offline
Web Hosting Master
 
Join Date: May 2003
Location: Heartland, USA
Posts: 733
...not sure what eot is... I'll have to look that one up!

Personally, unless you're talk'n the whole page (in which case, I'd rethink the use of the font) I would burn/use an image with the artsy font.


[edit] In case I'm not the only ignoramus here: EOT Files Explained

Reply With Quote
  #3  
Old 09-02-2003, 09:43 PM
rrdega rrdega is offline
Web Hosting Master
 
Join Date: May 2003
Location: Heartland, USA
Posts: 733
Ummm.... Is there a chance that your font's source URL is incorrect? I get a Not Found when I try to access it.

Reply With Quote
Sponsored Links
  #4  
Old 09-03-2003, 09:05 AM
Tom_Spencer Tom_Spencer is offline
Newbie
 
Join Date: Jun 2003
Location: nr. Leeds, UK
Posts: 9
The source URL was right, out of interest i copied the file to have capitals in the extension ie. PSYCHOPO.EOT and changed the path in the @font-face to

http://kill.it/killit/fonts/PSYCHOPO.EOT

It now downloads successfully.

I have no idea why the capitals made a difference, is this something I should have known about or completely random?

Reply With Quote
  #5  
Old 09-03-2003, 12:02 PM
rrdega rrdega is offline
Web Hosting Master
 
Join Date: May 2003
Location: Heartland, USA
Posts: 733
Well, the issue was probably in the fact that Windows is not case-sensitive, where-as Unix/Linux is.

Assuming you are hosted with on a *nix server, and you are doing your development on Windows, it is always best to try and follow a standard naming convention.

A lot of people always use all lowercase for naming/referencing files. I personally, take a bit more risk, and follow the standard Java-type conventions, where the files will always start with a lowercase first letter, no spaces, underscores, or hyphens, and capitalize each distinct word there-in. i.e., webDesign.php, newReply.php, etc. I prefer this, as it tends to make the filenames more readible... IMHO

-Bob

Reply With Quote
  #6  
Old 03-07-2005, 03:19 PM
ph33r ph33r is offline
New Member
 
Join Date: Mar 2005
Location: pittsburgh
Posts: 1
WEFT CODEZ

yo, yer code looks alot like mine

taken from the blood spatter test:
http //xero.nu/egobrain

<STYLE>@font-face {
font-family: bloodspatterz;
src: url(bloodspatterz.eot);
}
body {overflow-x: hidden}
.blood {FONT-SIZE: 195px; FONT-FAMILY: bloodspatterz; FILTER: alpha(opacity=95); -moz-opacity:95%;}
</STYLE>

when yew made the .eot w/ microsoft WEFT are ywe sure that yew used the correct url of yer www server?

oh yeah, also WEFT fonts dont work on yew system localy, they must be on a webserver.

Reply With Quote
  #7  
Old 03-08-2005, 12:46 AM
war59312 war59312 is offline
Junior Guru Wannabe
 
Join Date: Nov 2001
Location: U.S.A
Posts: 32
Web fonts only work with IE right?

See:

http://www.jsworkshop.com/dhtml/list19-1.html

Only works in IE. So firefox dispalys normal font for example.

How about making it work in all browser. Guess you have to make the user download it manually? What is the best method if I got this right?

Thanks,
Will

__________________
God Bless America

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Mozilla Firefox 23 Will Block Mix SSL Content by Default Web Hosting News 2013-04-12 11:39:07
Red Hat Previews Commercial Version of OpenStack Web Hosting News 2012-08-13 18:28:08
StillSecure Updates Safe Access Tool to Enable Mobile Devices Web Hosting News 2012-03-05 15:42:11
SSL Certificate Authority Comodo Providing Intel Application Certification Web Hosting News 2011-08-12 15:51:28
Web Host 100TB.com Launches Content Delivery Network Web Hosting News 2011-08-05 19:39:08


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?