468,238 Members | 1,899 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,238 developers. It's quick & easy.

Format Button

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. :)

Apr 21 '07 #1
1 7348
4,059 Expert 2GB
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.

Similar topics

1 post views Thread by Jason MacKenzie | last post: by
11 posts views Thread by RipperT | last post: by
8 posts views Thread by Thunder | last post: by
reply views Thread by shapper | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.