A font issue in CSS !
-
Hi I had a font file (Channels.ttf), I installed it. Its name is CHANL. Now I use this CSS code in my local HTML file.
.productText{
font: bold 36pt CHANL;
color: #b3c800;
padding-left: 11px;
}But the text doesn't show with CHANL font. I test it in FF3 and Opera9.5 What's wrong with it ? Thanks for your suggestions
-
Hi I had a font file (Channels.ttf), I installed it. Its name is CHANL. Now I use this CSS code in my local HTML file.
.productText{
font: bold 36pt CHANL;
color: #b3c800;
padding-left: 11px;
}But the text doesn't show with CHANL font. I test it in FF3 and Opera9.5 What's wrong with it ? Thanks for your suggestions
Hi, Use
.productText{
font-family:CHANL;
font: bold 36pt ;
color: #b3c800;
padding-left: 11px;
}Hope this helps
-
Hi, Use
.productText{
font-family:CHANL;
font: bold 36pt ;
color: #b3c800;
padding-left: 11px;
}Hope this helps
Thanks Jaffer. I used it but it made no difference. :(
-
Hi I had a font file (Channels.ttf), I installed it. Its name is CHANL. Now I use this CSS code in my local HTML file.
.productText{
font: bold 36pt CHANL;
color: #b3c800;
padding-left: 11px;
}But the text doesn't show with CHANL font. I test it in FF3 and Opera9.5 What's wrong with it ? Thanks for your suggestions
Custom fonts were part of the CSS-2 standard, but due to the differences in browser implementation, the standard has since been dropped by many of the mainstream browsers. In this case it might be better to use a standard font for whatever you want to do, or use an image or Flash object containing the text you want to use in this custom font, if this is more appropriate. Regards, --Perspx
"I've got my kids brainwashed: You don't use Google, and you don't use an iPod." - Steve Ballmer
"Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry penguin charging at them in excess of 100mph." - Linus Torvalds