vml 不符合W3C标准

hanbingsiyu2009 2009-06-16 10:56:14
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"> 标准 去掉这行就好用 但我不能去 去了其他很多地方都有问题了 如何修改能符合标准呢????
...全文
69 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复

52,797

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Ajax
社区管理员
  • Ajax
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧