Page 1 of 1

Font issue in CSS !

Posted: Wed Oct 08, 2008 10:29 pm
by Mds
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.

Code: Select all

.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 and IE6
What's wrong with it ? Image

Thanks for your suggestions

Re: Font issue in CSS !

Posted: Thu Oct 09, 2008 10:57 am
by pickle
I've noticed with some compound style declarations ("font", "background"), if you don't have them in the exact correct order, it goes to hell. Try explicitly stating it in a font-family: declaration & see what happens.

Re: Font issue in CSS !

Posted: Thu Oct 09, 2008 1:46 pm
by Mds
Thanks.
I used it but it made no difference. :(

Re: Font issue in CSS !

Posted: Thu Oct 09, 2008 2:03 pm
by pickle
Try putting the name in quotes. You're probably not specifying the name correctly.

The bigger question is why you're even trying to use a non-standard font?

Re: Font issue in CSS !

Posted: Fri Oct 10, 2008 2:09 am
by Mds
Wow Image
Thank you very much
My problem solved Image