这种图片如何显示?急!
用下面这种方式在.aspx中显示图片defaultmap.jpg,但图片显示不出来,放到.html文件中可以显示,help!
代码:
<form>
<div id= "Layer1 " style= "position:absolute; left:00px; top:00px; width:1500; height:1420; z-index:1; ">
<v:group id= "group1 " style= "width:1500;height:1420; " coordSize= "1500,1420 " coordOrigin= "-1000,-1000 ">
<v:shape style= "top:-1000.0;left:-1000.0;width:1500;height:1420;position:absolute " coordSize= "1500,1420 " coordOrigin= "-1000,-1000 ">
<v:imagedata src= "maps\defaultmap.jpg " />
</v:shape>
</v:group>
<span style= 'position:absolute; left: 427; top: 434 '> <img border= '0 ' src= 'images\noflash.gif '>
....
</div>
</form>
------解决方案-------------------- <asp:Image ID= "Image1 " runat= "server " ImageUrl= " "/>
用这个试试