开发者

creating attractive buttons in asp.net

开发者 https://www.devze.com 2022-12-22 18:28 出处:网络
hii I want attractive buttons for my webs开发者_如何学Cite how can i do thatYou could always draw them however you wanted in photoshop, save them for web, then use the ImageButton control where you wa

hii I want attractive buttons for my webs开发者_如何学Cite how can i do that


You could always draw them however you wanted in photoshop, save them for web, then use the ImageButton control where you wanted a custom button. Just set the ImageURL property of the ImageButton control to the image you want to display. You could even add some javascript to change the image when the mouse is over it and change back when it leaves.

<asp:ImageButton runat="server" ID="btnSubmit" ImageUrl="images/whatever.gif" onmouseover="this.src='images/whateverOver.gif'" onmouseout="this.src='images/whatever.gif'"/>


If you are using jquery, maybe you can give a try to this


Use Liatro button maker http://www.bestshareware.net/liatro-button-maker.htm


I recommend the As Button Generator. Great Web 2.0 buttons. It's an online flash program.


Use the sliding doors technique and CSS, e.g. http://www.oscaralexander.com/tutorials/how-to-make-sexy-buttons-with-css.html

0

精彩评论

暂无评论...
验证码 换一张
取 消