【发布时间】:2011-11-12 16:13:27
【问题描述】:
我有一个图像按钮,正如我在此处附加的那样。我用于此图像按钮的相应代码是
<asp:ImageButton ID="imgbtn_GenerateRpt" runat="server" ImageUrl="~/images/report.gif" Enabled="false" CssClass="imageButton"
onclick="imgbtn_GenerateRpt_Click"/>
css类
.imageButton![enter image description here][1]
{
position:relative;
top:5px;![enter image description here][2]
}
此图像按钮中的文本是“生成报告”。我希望在此图像按钮中显示自定义文本“确认”,而不是“生成报告”文本。
如何在不使用任何图像编辑工具(如 Photoshop 或 coreldraw)的情况下实现这一目标?
有什么帮助吗?
【问题讨论】:
-
我不完全确定我明白你在问什么。您所指的文本是图像、report.gif、文件的一部分吗?