- Try using
px in font-size . Use pt or % . - You can use
@font-face with eot font eot . Custom fonts are rendered without smoothing.
Example:
<html> <head> <style type="text/css"> @font-face { font-family:comic; src:url(http://valid_url/some_font_file.eot); } </style> </head> <body> <p style="font-family: comic; font-size: 18pt;">This paragraph uses the font-face rule defined in the above style element. The rule embeds an OpenType file for the Comic Sans font. </p> </body> </html>
You can use the FontSquirrel generator to create an eot font eot .
Pinal source share