+ -
当前位置:首页 → 问答吧 → 这个 VML 代码有什么问题么?

这个 VML 代码有什么问题么?

时间:2005-07-03

来源:互联网


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns:v="urn:schemas-microsoft-com:vml"> <HEAD> <title>test</title> </HEAD> <STYLE type="text/css"> v\:* {Behavior:url(#default#VML);} </STYLE> <v:shapetype id="testShape" coordsize="6 6"> <v:oval style="width:6;height:6;"/> </v:ShapeType> <v:shapetype id="arrowDown" coordsize="6 6"> <v:path v="m 0,0 l 3,6,6,0,0,0 x e" /> </v:shapetype> <BODY> <v:oval style="width:50;height:50;"/> <v:shape type="#testshape" style="width:50;height:50"/> <v:shape type="#arrowDown" style="width:50;height:50"/> </BODY> </HTML>
   提示:您可以先修改部分代码再运行

里面 <v:shape type="#testshape" style="width:50;height:50"/> 这个圆不显示,难道 shapetype 不支持 v:oval ?

作者: cosin   发布时间: 2005-07-03

http://www.iecn.net/forum/showthread.php?s=&threadid=19450

http://lshdic.cn/bbs/files.asp?dex=1&page=1&myclass=4039

晕哦,还有CSDN,4个地方:)

作者: 风云舞   发布时间: 2005-07-05

你试试line,polyline等,比较一下shape中的path用法,看看有没有办法

作者: 51jsu   发布时间: 2005-07-08