Previous Message
Next Message

[css-d] web fonts using CSS2

Sent by Mr. Praveen on 12 June 2002 00:12


I wanted to use the fonts present in the server from
the client browsers.
So, i used CSS2's @font-face.
 
<STYLE TYPE="text/css" MEDIA="screen, print">
@font-face {
	font-family: "Courier New";
	src: url("http://dummyserver/fonts/cour.ttf");
}
</STYLE>	

The fonts from the server(winnt4.0) are downloading
into the
client system's(windows98 OS) temp folder(Temperary
Internet files). 
But those downloaded server fonts are not displaying
in the client's browser.

HTML file used by the client system:
-----------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML>
<HEAD>
<TITLE>Fonts test</TITLE>
<STYLE TYPE="text/css" MEDIA="screen, print">
@font-face {
	font-family: "Courier New";
	src: url("http://dummyserver/fonts/cour.ttf");
	}	

	U { font-family: "Courier New";}
</Style>

</HEAD>
<BODY>
<U> This heading is displayed using courier</U><br>
</BODY>
</HTML>
------------------------------------

When i run this above shown html program the font
'cour.ttf' is downloading
into the client's temp folder.
But the text "This heading is displayed using courier"
is not displaying in the
"Courier New" font.

The client's browser is "internet explorer 5" and OS
is windows98.

So, how to use the fonts present in the server from
the client system dynamically? 


please respond me.



regards,

jvpk


________________________________________________________________________
Everything you always wanted to know about cars and bikes,now
 at: http://in.autos.yahoo.com
Previous Message
Next Message

Message thread: