I am creating an asp.net website in which I want to set the font of a label.I am trying to do this through CSS.The font that I need to apply is Shivaji05, which would not be available on most systems.This is the CSS:
body
{
}
@font-face {
font-family: "Shivaji05";
src:url("/Shivaji05.eot");
src:url("/Shivaji05.woff")format("woff");
src:url("/Shivaji05.ttf")format("truetype");
font-weight: normal;
font-style: normal;
}
.txtQues
{
font-family: "Shivaji05";
font-size:14px;
background-color:White;
}
The source:
<head>
<link href="../FontSettings.css" rel="stylesheet" type="text/css" />
</head>
<asp:Label ID="lblQuestionText" runat="server" Text="Type Your Question Here"
Font-Bold="True" EnableTheming="False" CssClass="txtQues"></asp:Label>
But this does not work, is there any mistake in this?how should I get this working?Kindly suggest if there are any other alternatives to this approach.
