文字需要在 vml 图片之前插入. 
而且不能直接 createElement("<div>文字</div>");
至于 DIV 的位置, 用其style属性控制就应该可以了.
<html xmlns:v>
<head>
<style>
v\:*{
   behavior:url(#default#vml)
}
</style>
</head>
<body>
<v:group id=group1 style="WIDTH: 500pt; HEIGHT: 300pt" coordsize = "5000,3000">
<v:line from='10,10' to='2000,2000' strokeColor='blue'/>
</v:group>
</body>
</html>
<script language="javascript">
function aa(){new2=document.createElement("<div>test</div>");
new2.innerText="文字";
group1.insertBefore(new2);  newoval=document.createElement("<v:oval filled='f' style='position:absolute;z-index:4;left:5;top:5;width:900;height:780'/>")
  group1.insertBefore(newoval);  
new1=document.createElement("<v:shape style='position:absolute;left:1229;top:2079;width:200;height:100;z-index:9'/>")
  group1.insertBefore(new1);}
document.onclick=aa;
</script>