devxlogo

Replace Form Buttons With Images

Replace Form Buttons With Images

Let’s face it–the default gray buttons that come with all browsers to go along with HTML forms are not very attractive. If you have a good look and feel going with your site, it’s a shame to mess it up with bland gray submit buttons for the forms. Fortunately, you don’t have to use these bland buttons. It’s possible to use an image and have it behave like a submit button. The syntax is as follows:

 

Remember to give the tag the correct path to the image you want to use, and don’t forget the BORDER=”0″ attribute–it’ll look strange if you don’t include it.

devx-admin

Share the Post: