W3C home > Mailing lists > Public > www-style@w3.org > August 1998

Help -- CSS2 Embedding External Font Problem

From: Minch Corey <cm@schweickert.de>
Date: Mon, 24 Aug 1998 08:50:12 -0400 (EDT)
Message-ID: <581378268538D2118F2E00600863F0EFC24A@NWT-2>
To: "'www-style@w3.org'" <www-style@w3.org>
Hi to everyone,
I am having a problem and it is embedding a font using an external
source.

What am I doing wrong?  Here is the code

<style type="text/css">
<!--
	@font-face {
		font-family: "Tango BT";
		src: url(http://mysite/siteDirectory/)
				}
	 .title {
		  font-family: "Tango BT";
          	              font-size: 150px;
		  font-weight: 700;
                          text-indent: 10px;
		  vertical-align: top;
                          color: green;
                          background: #FFFFFF;
            	  line-height: 0px;
     }
....etc.

All other properties work and I see that it is downloading the TTF File
but it doesn't
look like the font, but the fallback font Times Roman.

Anybody have an idea, YES I did check it with the W3 Validator but it
said I should
use Generic-Fonts as a last resort.  Is Tango BT a Generic Font?

Thanks for your time and help.

Corey
cm@schweickert.de
Received on Friday, 28 August 1998 12:58:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:55 GMT