ssskaya
08-21-2005, 02:35 PM
I need to use a 'very' rare font on a page.
Is my only solution 'using a .jpg file with the text on it'?
If not, what are my other options?
Thanks!
harbingerOTV
08-21-2005, 04:14 PM
you could look into sIFR (http://www.mikeindustries.com/blog/archive/2004/08/sifr) .
Other than that or embedding the font (which is a crap shoot), an image could be the way to go.
Graft-Creative
08-21-2005, 05:23 PM
yep sIFR is very good, yhough I've not managed to get it workin' properly myself :o
Other than that, all you can do is use an image.
If it's for a header then make sure you include the header tags somewhere.
For instance you could have
h1, h2, h3, h4 {
text-indent: - 999em;
}
or:
h1, h2, h3, h4 {
letter-spacing: - 999em;
}
and:
/* Just for Opera, but hide from MacIE */
/*\*/html>body h1, h2, h3, h4 {
letter-spacing : normal;
text-indent : -999em;
overflow : hidden;
}
Then you'd have something like:
h1 {
height: 200px;
width: 400px;
background: transparent url(images/header.png);
}
Of course you could apply this trick to any html text you wish to replace with graphics.
Gary