By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,788 Members | 1,115 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,788 IT Pros & Developers. It's quick & easy.

Format Button

P: 1
Hi, i am trying to add image, change fonts in button. My basic code is:

<input type=button value='Add to Cart'onClick='AddToCart(this.form)'>

Could some one help how to do it. I am a beginner, so i might ask a stupid question, but any help will be appeciated. :)

Thanks!!!!
Apr 21 '07 #1
Share this Question
Share on Google+
1 Reply


KevinADC
Expert 2.5K+
P: 4,059
Expand|Select|Wrap|Line Numbers
  1. <input type="button" style="background-image: url(http://www.foo.com/image.gif)"  value='Add to Cart' onClick='AddToCart(this.form)'>
Apr 22 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.