| View previous topic :: View next topic |
| Author |
Message |
webmaster Site Admin

Joined: 17 Aug 2004 Posts: 3620 Location: Sweden
|
Posted: Tue Nov 08, 2005 12:40 pm Post subject: Use an image as submit button |
|
|
This is how you replace a standard submit-button with an image.
Instead of using this code for a button:
| Code: |
| <input type="submit" name="submit" /> |
(This is a standard submit button)
Use this for an image:
| Code: |
| <input type="image" name="submit" src="image.jpg" /> |
(This code will show a border around the image)
To remove the border around the image, use this code instead:
| Code: |
| <input type="image" name="submit" src="image.jpg" style="border:0;" /> |
|
|
| Back to top |
|
 |
|
|
Phate 500+ Club

Joined: 21 Nov 2004 Posts: 818 Location: 127.0.0.1
|
Posted: Tue Nov 08, 2005 11:02 pm Post subject: Re: Use an image as submit button |
|
|
| sweet man! nice script! |
|
| Back to top |
|
 |
SalmonBoy11

Joined: 16 Nov 2007 Posts: 22
|
Posted: Mon Nov 19, 2007 6:02 am Post subject: Re: Use an image as submit button |
|
|
| Heh, I'll definitely use this in the future. |
|
| Back to top |
|
 |
|