1.VML绘图入门新建网站,在Default.aspx源模式下,修改成如下代码:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head runat="server">
<title>无标题页</title>
<STYLE>v\:*{behavior:url(#default#VML);}</STYLE>
</head>
<body>
<form id="form1" runat="server">
<div>
<v:Oval fillcolor='red' style='width:100;height:150'/>
<v:oval strokecolor=blue style="position:absolute;z-index:2;left:300;top:100;width:100;height:150">
</v:oval>
<v:RoundRect FILLCoLOr=green strokecolor=blue style=position:absolute;z-index:3;left:350;top:200;width:100;height:150;color:white;font-size:25px;>
包含<b>内容</b>
</v:roundrect>
</div>
</form>
</body>
</html>
本文来自优快云博客,转载请标明出处:file:///C:/Documents%20and%20Settings/fgh/桌面/Web绘图(2)——客户端VML%20-%20ivy_zheng最后一只恐龙的专栏%20-%20优快云博客.htm
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head runat="server">
<title>无标题页</title>
<STYLE>v\:*{behavior:url(#default#VML);}</STYLE>
</head>
<body>
<form id="form1" runat="server">
<div>
<v:Oval fillcolor='red' style='width:100;height:150'/>
<v:oval strokecolor=blue style="position:absolute;z-index:2;left:300;top:100;width:100;height:150">
</v:oval>
<v:RoundRect FILLCoLOr=green strokecolor=blue style=position:absolute;z-index:3;left:350;top:200;width:100;height:150;color:white;font-size:25px;>
包含<b>内容</b>
</v:roundrect>
</div>
</form>
</body>
</html>
本文来自优快云博客,转载请标明出处:file:///C:/Documents%20and%20Settings/fgh/桌面/Web绘图(2)——客户端VML%20-%20ivy_zheng最后一只恐龙的专栏%20-%20优快云博客.htm
本文介绍如何使用VML在网页上绘制基本图形,包括圆形、椭圆及带填充颜色的矩形,并展示了如何设置这些图形的位置、大小及颜色。
198

被折叠的 条评论
为什么被折叠?



