aspvbnetnerd
Programmer
I am new to asp.net but is it possible to put text in a imagebutton?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<asp:LinkButton ID="lbButton" runat="server">
<img src="MyImage.gif" alt="Whatever" style="border: 0" />
<br />
Some Text
</asp:LinkButton>
<asp:ImageButton ID="ImageButton1" runat="server" Height="22px" ImageUrl="~/ads.gif"
Style="z-index: 104; left: 35px; position: absolute; top: 343px" Width="186px"
AlternateText="Click Me" />
<asp:LinkButton ID="lbButton" runat="server">
<img src="MyImage.gif" alt="Whatever" style="border: 0" />
<div style="margin-top: -30px; margin-left: 10px">
Some Text
</div>
</asp:LinkButton>
{/code]
You can tweak the font size and positioning to taste, but you get the idea.
MCP, MCTS - .NET Framework 2.0 Web Applications