Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
70 Points
40 Posts
Oct 10, 2007 06:35 PM|LINK
You can actually build a Image button with text with the plain old <asp:Button> and some styling. Here's how I managed to do it
<asp:button id="myButton" style="background-image:url('Images/ButtonImage.ico'); background-color:Transparent; cursor:hand; background-repeat:no-repeat; background-position:left; padding-left:15px;" Runat="server" Height="25px" BorderStyle=None Text="ButtonText" Width="50px" />
That's it.
Hope it helps
sirpingalot
Member
70 Points
40 Posts
Re: Button With Image And Text
Oct 10, 2007 06:35 PM|LINK
You can actually build a Image button with text with the plain old <asp:Button> and some styling. Here's how I managed to do it
<asp:button id="myButton" style="background-image:url('Images/ButtonImage.ico'); background-color:Transparent; cursor:hand; background-repeat:no-repeat; background-position:left; padding-left:15px;" Runat="server" Height="25px" BorderStyle=None Text="ButtonText" Width="50px" />
That's it.
Hope it helps