I'm having trouble embedding my own font in my .aspx file. Google Chrome and Firefox don't seem to support the font, while IE does. Can someone please provide guidance on how to successfully embed the font in an asp.net page?
Below is my code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Font</title>
<style type="text/css">
.title
{
@font-face
{
font-family: Mullai;
src: url('F:\ASP\SAMP - Mullai.ttf')format("truetype");
}
}
</style>
</head>
</body>
<form id="form1" runat="server">
<div>
<table style="width: 100%;">
<tr>
<td style="width: 91px"> </td>
<td align="center" style="width: 351px" class="title">தமிழ்<br /></td>
<td style="width: 91px"> </td>
</tr>
</table>
</div>
</form>
</body>
</html>
Unfortunately, Chrome and Firefox are not recognizing the css class. Any insights into resolving this issue would be greatly appreciated. Thank you!