每当将光标放在图像按钮上时未显示手形符号
问题描述:
我的问题是我有这么多的图像按钮。在第一个图像按钮显示手符号ramaining图像按钮未显示手symbol.image按钮代码如下所示。
my probelm is i have so many image buttons.in that first image button shown hand symbol ramaining image button not shown the hand symbols.image buttons code like this below.
<asp:Panel ID="Panel1" runat="server"
style="position:absolute; top: 237px; left: 46px; width: 936px; height: 42px; margin-right: 164px;">
<table style="width: 927px; height: 41px;">
<tr>
<td>
<asp:ImageButton ID="ImageButton1" runat="server" Height="24px" Width="80px"
ImageUrl="~/images/Year Wise.png" style="cursor:pointer" onclick="ImageButton1_Click1" />
<asp:ImageButton ID="ImageButton2" runat="server" Height="24px" Width="80px"
ImageUrl="~/images/month wise.png" style="cursor:pointer" onclick="ImageButton2_Click1" />
<asp:ImageButton ID="ImageButton3" runat="server" Height="24px" Width="80px"
ImageUrl="~/images/Maximum Paid.png" style="cursor:ponter" onclick="ImageButton3_Click1" />
<asp:ImageButton ID="ImageButton4" runat="server" Height="24px" Width="80px"
ImageUrl="~/images/Minimum Paid.png" style="cursor:pointer" onclick="ImageButton4_Click1"/>
<asp:ImageButton ID="ImageButton5" runat="server" Height="24px" Width="80px"
ImageUrl="~/images/Avg Paid.png" style="cursor:pointer" onclick="ImageButton5_Click1" />
<asp:ImageButton ID="ImageButton6" runat="server" Height="24px" Width="80px"
ImageUrl="~/images/Total Paid.png" style="cursor:pointer" onclick="ImageButton6_Click1"/>
<asp:ImageButton ID="ImageButton7" runat="server" Height="24px" Width="80px"
ImageUrl="~/images/Last Paid.png" style="cursor:pointer" onclick="ImageButton7_Click1" />
<asp:ImageButton ID="ImageButton8" runat="server" Height="24px" Width="80px"
ImageUrl="~/images/All Bills.png" style="cursor:pointer" onclick="ImageButton8_Click1" />
</td>
</tr>
</table>
</asp:Panel>
请帮我解决。
please help me for solution.
答
将以下行添加到html。
add the following line to the html.
style="cursor:pointer"
喜欢下面的一个
like the bellow one
<asp:ImageButton ID="ImageButton1" runat="server" Height="24px" Width="80px"
ImageUrl="~/images/Year Wise.png"style="cursor:pointer" onclick="ImageButton1_Click1" />