vml 不符合W3C标准
var str ="<v:rect id='"+areaId+"' onmouseover=BnD('"+this.id+"','"+this.name+"','"+this.txt+"') onmouseout='hideddrivetip()' fillcolor='"+colorChar+"' style='width:"+w+";rotation:180;color:navy;height:" +
h+"'><br><font size='2.0' bold='30'> " +
txt+"</font><v:fill opacity='"+opty+"' /><v:Extrusion backdepth='12pt' on='true'/></v:rect>";
this.rectdoc.innerHTML = str;
this.doc.appendChild(this.rectdoc);
用vml画柱状图在页面上无法显示 后查到由于不符合
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 标准 去掉这行就好用 但我不能去 去了其他很多地方都有问题了 如何修改能符合标准呢????