Masterpage中img元素的src路径设置?
netwy 2007-04-11 09:26:14 <img id='imgCursor' alt='1' src="App_Themes/MasterImages/leftCursor.png" />
asp.net会根据当前页来解析资源路径,masterpage显示正常
如果我但开根masterpage同级的目录中的一个内容页后,图片不能正常显示,怎样解决?
客户端元素的根路径是用:/表示吗?如果我设置成
<img id='imgCursor' alt='1' src="/App_Themes/MasterImages/leftCursor.png" />后,图片为什么不能显示?