图片不显示
文件目录结构:
-web
-App_themes
-common
-stylesheet.css
-imgs
-ok.gif
-folder1
-webpage1.aspx
stylesheet.css文件中定义一个类
.command_OK
{
width: auto;
background:url('..\imgs/ok.gif') no-repeat left top;
padding-left: 20px;
}
然后在webpage1.aspx中使用这个类
<asp:LinkButton id="lbtn1" runat="server" class="command_OK">添加</asp:LinkButton>
为什么在运行这个页面时,就是不显示图片呢?