Change Search Button > Image Change Search Button > Image
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Change Search Button > Image

Started by Super Noodles, September 19, 2008, 03:44:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Super Noodles

Hi guys

I'm currently trying to change the basic search button to an image, what am I doing wrong

<input type="submit" value="Go" class="image" img src="images/go.gif" />

The image won't show ???

Nibbler

You need to set 'type' to 'image' and remove the random 'img'.

Super Noodles

Thanks nibbler I've changed it to

<input type="image" value="Go" src="images/go.gif" align="top" />

Works a treat ;D

Joachim Müller

Alternatively, you can use the syntax for the HTML tag <button>, which will allow you to use an image together with text. Refer to http://www.w3schools.com/tags/tag_button.asp or other pages. In fact, the web is full of good resources to learn HTML. Your question is somehow unrelated to coppermine, but just plain HTML skills.