- From: 张敏 <belem@163.com>
- Date: Thu, 10 Mar 2011 00:41:35 +0800 (CST)
- To: "chris M. sprite" <numbchild@gmail.com>
- Cc: HTML5-W3-zh <public-html-ig-zh@w3.org>
- Message-ID: <40b0120b.14748.12e9b7eb5af.Coremail.belem@163.com>
per Zibin, 这个列表可能更专注于讨论HTML5方面的知识. 由于不知道初学者论坛在哪, Chris 若不介意, 有网页方面的问题可以问我,http://lieb.cn orhttp://t.sina.com.cn/ibelem http://ishare.iask.sina.com.cn/f/4944524.html 将 MONACO.TTF (licensed TrueType font ?) 置于该 .htm 同级目录, 使用现代浏览器 (Opera, Chrome, FIrefox, IE9 等) 查看效果. <style type="text/css"> body { font-family: 宋体; color:olive; } #content { font-family: "Courier New"; color:red;} #title { font-family: Verdana; color: teal;} @font-face { font-family: Monaco; src: url('MONACO.TTF'); } #title a:link { font-family: Monaco; color: green; display:block;} </style> <body> Songti <div id="content">Courier New <div id="title" >Verdana<a href="#">Monaco Evanescene</a></div> </div> </body> ------ <div id=#content> <!-- 此处写法有误 No # --> <div id="title" font=Monaco> <!-- 写法有误 No font=Monaco 即便是<font face=Monaco> 以后也不要在这里出现了 --> /br Belem At 2011-03-09 20:02:22,"chris M. sprite" <numbchild@gmail.com> wrote: >我还是html学习的初学者。我尝试了在不同的地方设置字体,但是好像都没有显示字体的效果。 >下面是几种情况。 >[1] ><style> >body{ font-family: Monaco; } >#content #title { font-family: Monaco; } ></style> ><div id=#content> > > <div id="title" font=Monaco><a href="http://localhost/">Evanescene</a></div> ></div> > >(还请写一些具体的能设置字体的方法,在不同的情况下。) > >thanks for your reply. ---------- > >-- >I try to detoxify my memory. >Forget can not be treated as betray. >It's not certainly a love even though you remember to the end of your life. >
Received on Wednesday, 9 March 2011 16:49:23 UTC