303 maddec
11-09-2006, 10:40 AM
Hi there,
in my css external file I have a font name which include a whitespace:
..
font-family: MS Hei;
...
According to the following:
http://www.w3schools.com/css/pr_font_font-family.asp
Note: If a family-name contains white-space, it should be quoted. Single quotes must be used when using the "style" attribute in HTML.
I should use wether font-family: "MS Hei"; or font-family: 'MS Hei';
But unfortunately both doesn't work properly.
Did you have some experience in such problem?
Thank you in advance for your help.
in my css external file I have a font name which include a whitespace:
..
font-family: MS Hei;
...
According to the following:
http://www.w3schools.com/css/pr_font_font-family.asp
Note: If a family-name contains white-space, it should be quoted. Single quotes must be used when using the "style" attribute in HTML.
I should use wether font-family: "MS Hei"; or font-family: 'MS Hei';
But unfortunately both doesn't work properly.
Did you have some experience in such problem?
Thank you in advance for your help.