View Full Version : is there any trick to insert picture to button
therry
07-04-2002, 02:42 AM
Hi,
If I'm having a input button and I want to change the button to have some image.How can I do that?
bpaulsen2000
07-04-2002, 02:52 AM
hi,
<a href="yoururl" target="_blank">
<img src="yourimage.jpg" >
</a>
use photo editor of your choice to put image on button.
boxer_1
07-04-2002, 03:23 AM
Originally posted by therry
Hi,
If I'm having a input button and I want to change the button to have some image.How can I do that?
Here;s another option you might want to have a look at. It's a tutorial we have on JavaScript Kit regarding the <button> tag...might be worth a l@@K ;).
http://javascriptkit.com/howto/button.shtml
glenngv
07-04-2002, 04:41 AM
if you are talking about submit button, you can use input type=image. This functions the same as the normal submit button but with minor (or major) differences:
1. it does not fire form onsubmit event.
2. its name/value pair is not submitted to the server,
therefore, you will not detect if it's clicked or not
unless you put a hidden field containing which button is clicked.
premshree
07-04-2002, 09:44 AM
As Gelenn said you can use <input type="image" src="..."> or use this:
<button style="border:0px; background:#FFFFFF"><img src="yourImage.gif"></button>
This should work......set the bg color of the button to whatever you want.
glenngv
07-04-2002, 10:58 AM
does it work with Netscape?
Originally posted by premshree
As Gelenn said you can use <input type="image" src="..."> or use this:
<button style="border:0px; background:#FFFFFF"><img src="yourImage.gif"></button>
This should work......set the bg color of the button to whatever you want.
premshree
07-04-2002, 08:40 PM
Should work with NS6, not sure about NS4......
Hello is there any way in this world to insert picture
to abutton ?
css2 ,filters , Behaviors ...any thing go's.....
tnx
David_Stokes
07-05-2002, 01:23 PM
i dont know if this is what u mean but there is a way they this
<a href="http://www.yourlink.com"><img src="/Image.gif" width="100" height="20" border="0"></a>
that will make the image a link
sorry if this is not what u where looking for
Hello tnx for the fast reply
well no .. this is not what i meant
i meat say i have : <input type="button">
is there way to insert in side it as background maybe a-picture
(jog or gif ..)
tnx
Zvona
07-05-2002, 01:44 PM
This thread was about 10 topics below yours :D
Merged
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.