@fontface网址无法在www上运行

时间:2014-07-01 14:29:11

标签: css

我已将以下代码添加到样式表中:

@font-face {
  font-family: 'Gloucester';
  src: url('http://www.domain.co.uk/Gocesterfont/Gloucester-MT-Extra-Condensed_20855.ttf');
}

在输入网址(包括www.)时有效但如果只输入http://domain.co.uk则无效

有人能够向我解释这个吗?如果要求两个URL,我试图加载字体。

0 个答案:

没有答案