查看: 2262|回复: 5
|
特别字体可以在IE显出,但MOZILA FIREFOX和NETSCAPE就不见!
[复制链接]
|
|
特别字体可以在IE显出,但MOZILA FIREFOX和NETSCAPE就不见!
以下就是HTML例子,可以在IE显出特别字体(Can you see?)和普通字体(can you see the text above?),但MOZILA FIREFOX和NETSCAPE就不见, 只出现 can you see the text above? 这要怎么解决?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns ="urn:schemas-microsoft-com ffice ffice"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name=" rogId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252">
<title>New Page 1</title>
<style>
v\:* { behavior: url(#default#VML) }
o\:* { behavior: url(#default#VML) }
.shape { behavior: url(#default#VML) }
</style>
<![endif]--><!--[if gte mso 9]>
<xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]-->
<style type="text/css">
<!--a.x:link, a.x:visited, a.x:active{color:#ffffff;text-decoration:none}//-->
</style>
</head>
<body marginheight="15" topmargin="25">
<center>
<p align="center"> </p>
<p align="center"><!--[if gte vml 1]><v:shapetype id="_x0000_t136"
coordsize="21600,21600" o:spt="136" adj="10800" path="m@7,l@8,m@5,21600l@6,21600e">
<v:formulas>
<v:f eqn="sum #0 0 10800"/>
<v:f eqn="prod #0 2 1"/>
<v:f eqn="sum 21600 0 @1"/>
<v:f eqn="sum 0 0 @2"/>
<v:f eqn="sum 21600 0 @3"/>
<v:f eqn="if @0 @3 0"/>
<v:f eqn="if @0 21600 @1"/>
<v:f eqn="if @0 0 @2"/>
<v:f eqn="if @0 @4 21600"/>
<v:f eqn="mid @5 @6"/>
<v:f eqn="mid @8 @5"/>
<v:f eqn="mid @7 @8"/>
<v:f eqn="mid @6 @7"/>
<v:f eqn="sum @6 0 @5"/>
</v:formulas>
<v:path textpathok="t" o:connecttype="custom" o:connectlocs="@9,0;@10,10800;@11,21600;@12,10800"
o:connectangles="270,180,90,0"/>
<v:textpath on="t" fitshape="t"/>
<v:handles>
<v:h position="#0,bottomRight" xrange="6629,14971"/>
</v:handles>
<o:lock v:ext="edit" text="t" shapetype="t"/>
</v:shapetype><v:shape id="_x0000_s1035" type="#_x0000_t136" alt="Taman"
style='width:268.5pt;height:44.25pt' fillcolor="blue" strokecolor="#0cf">
<v:shadow on="t" color="silver" opacity="52429f"/>
<v:textpath style='font-family:"Brush Script MT";v-text-kern:t' trim="t"
fitpath="t" string="Can you see?"/>
</v:shape><![endif]--></p>
<p>Can you see the text above?</P>
</body>
</html> |
|
|
|
|
|
|
|
发表于 30-12-2005 09:35 PM
|
显示全部楼层
urn:schemas-microsoft-com:vml
"Vector Markup Language (VML) is an XML language used to produce vector graphics. VML was submitted as a proposed standard to the W3C in 1998 by Microsoft, Macromedia, and others. VML was rejected as a web standard because Adobe, Sun, and others submitted a competing proposal known as PGML. The two standards were joined and improved upon to create SVG."
VML: Microsoft Vector Markup Language -- http://en.wikipedia.org/wiki/Vector_Markup_Language
VML 过时了,并不是W3C STANDARD, 只有MICROSOFT 自己SYOK SYOK SENDIRI,所以别的BROWSER 并没有SUPPORT。要看就看SVG 吧!是为来的大方向。
SVG: Scalable Vector Graphics -- http://en.wikipedia.org/wiki/SVG
不要再使用FRONT PAGE 了。FRONTPAGE 作出来的东西在IE 看得到,而在别的BROWSER 看不到,并不是什么新鲜事了。 |
|
|
|
|
|
|
|
发表于 31-12-2005 10:50 AM
|
显示全部楼层
对,推荐使用SVG,目前FireFox1.5和Opera已经支持SVG1.1及SVG-Tiny了。只有Microsoft还在搞独立,IE7听说也没有支持SVG。 |
|
|
|
|
|
|
|

楼主 |
发表于 31-12-2005 03:19 PM
|
显示全部楼层
谢谢exiang 和 kfchai1982 的解答。
又是Microsoft Frontpage的手尾,之前的web page 使用Microsoft Frontpage设计的,看来又要一段时间收拾残局了。 |
|
|
|
|
|
|
|
发表于 31-12-2005 03:24 PM
|
显示全部楼层
fch没关系,学习中,我也曾有用过FRONTPAGE 的日子 
现在,我只用PLAIN TEXT EDITOR 了. |
|
|
|
|
|
|
|

楼主 |
发表于 1-1-2006 11:32 PM
|
显示全部楼层
原帖由 exiang 于 31-12-2005 03:24 PM 发表
fch没关系,学习中,我也曾有用过FRONTPAGE 的日子 
现在,我只用PLAIN TEXT EDITOR 了.
我也有用 NETSCAPE COMPOSER 和 PLAIN TEXT EDITOR.
将会学Macromedia Dreamweaver.
你很厉害,只用PLAIN TEXT EDITOR。 |
|
|
|
|
|
|
| |
本周最热论坛帖子
|