my html code-
<div class="logo"><h1><a href="index.html" class="lg">Shizin</a></h1></div>
my css code-
.lg {
font-family:Monotype Corsiva, Times, serif;
}
but it is not working.how can i set font style?
my html code-
<div class="logo"><h1><a href="index.html" class="lg">Shizin</a></h1></div>
my css code-
.lg {
font-family:Monotype Corsiva, Times, serif;
}
but it is not working.how can i set font style?
p {
font-family:"Times New Roman",Georgia,Serif;
}
This works fine, so do you maybe just have to add the " to Monotype Corsiva, or have to start writing serif with a big S?
Update: As you can read from the comment above: Using non-standard fonts on a web site is not trivial.
are you sure that your system have this font if not then see http://forums.asp.net/p/1467009/3392471.aspx
Font's with Spaces need to be quoted.
font-family: "Times New Roman", Arial, "Trebuchet MS";
So :
.lg {
font-family:Monotype Corsiva, Times, serif;
}
Should work fine.