You are here: Re: ensuring a font is used... « HTML « IT news, forums, messages
Re: ensuring a font is used...

Posted by jake on 08/28/05 13:00

In message <1125173585.018768.170850@g43g2000cwa.googlegroups.com>,
Morgan <southclean1@O2mail.ie> writes
>btw: it tells you that its for IE but it works for every browser
>really. Try it and see. If it dosn't tell me, I've used it with
>navigator versions, explorer's and firefox
>
Actually, it will only work with IE.

It may seem like it's working with other browsers, but that's probably
because you're not renaming the font and, hence, the non-IE browser is
picking up your permanently-installed font.

I always make a point of renaming the font so that I can be sure that
the embedding is working OK, and I'm not picking up my installed font.

e.g. Renaming an embedded font as 'mainheading' ensures that I'm seeing
the embedded font (when I test) and not the installed font that the eot
file is generated from. It also means that I can also see how the
defaults look in non-IE browsers.

#whatever H2 {
font-family : mainheading, Arial, sans-serif;
}

<STYLE TYPE="text/css">
@font-face {
font-family: mainheading;
font-style: normal;
font-weight: normal;
src: url(APEXCON0.eot);
}
-->
</STYLE>

(Just a thought.)

regards.

--
Jake
(jake@gododdin.demon.co.uk .... just a spam trap.)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация