|
本帖最后由 heshunyihugh 于 2013-4-18 19:24 编辑
按照R大的和样式表制作的CSS:
<STYLE TYPE="text/css">
/*定义一种普通字体*/
@font-face {
font-family: 'Times_New_Roman';
font-style: normal;
font-weight: normal;
src: url('content://mdict.cn/localfile/fonts/Times_New_Roman.ttf');
}
/*定义一种粗体字体*/
@font-face
@font-face {
font-family: 'Times_New_Romanbd';
font-style: normal;
font-weight: normal;
src: url('content://mdict.cn/localfile/fonts/Times_New_Romanbd.ttf');
}
/*定义一种斜体字体*/
@font-face
@font-face {
font-family: 'Times_New_Romani';
font-style: normal;
font-weight: normal;
src: url('content://mdict.cn/localfile/fonts/Times_New_Romani.ttf');
}
/*定义一种斜体&粗体字体*/
@font-face {
font-family: 'Times_New_Romanbi';
font-style: normal;
font-weight: normal;
src: url('content://mdict.cn/localfile/fonts/Times_New_Romanbi.ttf');
}
* {
font-family: 'Times_New_Roman', serif
}
</STYLE>
然而效果,目测不是Times New Roman字体,头疼的很
请高手指点,谢谢!!! |
|