Blogspot字体嵌入

时间:2013-08-09 11:04:58

标签: css blogspot

目前我打算创建一个博客,在该博客中我将嵌入一种字体,因此即使用户没有该字体,他也可以查看该网站。目前我已经创建了font-face并且已经实现了CSS但人们仍然无法查看我的网站。这是字体。

/* 
 * Tharlon (Burmese) http://www.google.com/webfonts/earlyaccess
 */
@font-face {
  font-family: 'Tharlon';
  font-style: normal;
  font-weight: 400;
  src: url(//themes.googleusercontent.com/static/fonts/earlyaccess/tharlon/v1/Tharlon-Regular.eot);
  src: url(//themes.googleusercontent.com/static/fonts/earlyaccess/tharlon/v1/Tharlon-Regular.eot?#iefix) format('embedded-opentype'),
       url(//themes.googleusercontent.com/static/fonts/earlyaccess/tharlon/v1/Tharlon-Regular.woff2) format('woff2'),
       url(//themes.googleusercontent.com/static/fonts/earlyaccess/tharlon/v1/Tharlon-Regular.woff) format('woff'),
       url(//themes.googleusercontent.com/static/fonts/earlyaccess/tharlon/v1/Tharlon-Regular.ttf) format('truetype');
}

这是我写的css的代码

  

体,HTML,P,代码,*,表,TD,TR,跨度,DIV,一个,UL,LI,输入,文本区域{字体家庭:!TharLon'重要;}

     
      
  • {font-family:'Tharlon'; }
  •   

我不知道为什么人们在没有字体的情况下仍然无法看到我的博客。多谢你们。 :)

0 个答案:

没有答案
相关问题