日期:2014-05-16  浏览次数:20354 次

vml画的图,有几条线显示不出来=============?
有几条线可以显示,有几条无法在IE无法正常显示,删掉其它的也可以显示出来,找了半天也没找出原因,代码如下:


<html   xmlns:v= "urn:schemas-microsoft-com:vml ">

<head>
<meta   http-equiv= "Content-Type "   content= "text/html;   charset=gb2312 ">
<title> VML </title>

</head>
<style   type= "text/css ">
<!--
body   {
background-color:   #FFFFFF;
}
-->
</style>
<style>
v\:*   {   behavior:   url(#default#VML);}
o\:*   {   behavior:   url(#default#VML)}
</style>
<body>


<v:group   ID= "group2 "   style= "WIDTH:500pt;HEIGHT:300pt; "   coordsize= "5000,3000 ">

<!--以下图形在IE可以正常显示-->
<v:line   from= "400,100 "   to= "400,2600 "   style= "Z-INDEX:8; "   strokeweight= "1pt ">
<v:stroke   StartArrow= "classic "   LineStyle= "ThinThick "/>   <!--y-->
</v:line>
<v:line   from= "400,2600 "   to= "4400,2600 "   style= "Z-INDEX:8; "   strokeweight= "1pt ">
<v:stroke   EndArrow= "classic "     LineStyle= "ThinThick "/>
</v:line>
<v:line   from= "400,500 "   to= "4400,500 "   style= "Z-INDEX:9; "   strokeweight= "1px ">
<v:stroke   dashstyle= "shortdot "   LineStyle= "ThinThin "   endarrow= "classic ">
</v:line>

<!--以下图形在IE无法显示-->
<v:line   from= "400,1500 "   to= "4400,1500 "   style= "Z-INDEX:9; "   strokeweight= "1px ">
<v:stroke   dashstyle= "shortdot "   LineStyle= "ThinThin "   endarrow= "classic ">
</v:line>

<v:rect   style= "WIDTH:4900px;HEIGHT:3000px "   coordsize= "21600,21600 "   fillcolor= "white "   strokecolor= "black ">
<v:shadow   on= "t "   type= "single "   color= "silver "   offset= "4pt,3pt "> </v:shadow>
</v:rect>
<v:polyLine   id= "poly1 "   style= "position:relative "   filled=f   strokecolor=red   strokeweight=1px   points= "412,2355   441,2169   2390,2318   2420,2392   2453,2503   2516,2578   2549,2243   2582,2429   2612,2355   2645,2392   2678,2503   2708,2429   2741,2058   2804,2280   2837,2355   2870,2355   2900,2206   2966,2243   2996,2355   3029,2392   3062,1798   3092,1278   3125,1315   3158,1575   3188,1835   3221,1092   3254,906   3284,720   3317,1686   3350,1463   3380,1129   3413,758   3446,1129   3476,795   3509,1352   3542,1166   3572,1426   3605,646   3638,1352   3668,1315   3701,1389   3734,1760   3764,943   3797,1500   3830,1798   3860,1835   3893,1686   3926,1649   3956,1426   4022,1426 "/>


</v:group>
</body>
</html>

------解决方案--------------------
下面两句没结束符
<v:stroke dashstyle= "