IE下画线
<script><br>var R =function(){};<br>R.prototype.createLine = function (startX,startY,endX,endY){ <br> var le = document.createElement( "<v:line><v:line>" ); <br> le.from = startX ',' startY ; <br> le.to = endX ',' endY ; <br> le.strokecolor= "red" ; <br> le.strokeweight= "1pt" ; <br> return le; <br>} <br>var d =new R();<br>document.body.appendChild(d.createLine(1,1,200,100));<br></script>