PDA

View Full Version : Custom Buttons



Assassinator
12-08-2007, 02:15 PM
Well on my site i want every button to be a custom one.I want this image on every button but does anyone know how i can do it?

http://gangs-bliss.freehostia.com/button.gif

Lilian
12-08-2007, 02:24 PM
I didn't understand that one bit :S Soz

Jackboy
12-08-2007, 03:26 PM
when ur doing <input> etc. i think you need to use a style.. However i am unsure because i have never needed to do it before.

I am going to find out for you because it'll be interesting to know.




<input type="image" src="image.gif" width="60" height="60">


That what u wanting :S

RichardKnox
12-08-2007, 03:51 PM
Copy the code from www.developlive.com/index.php?page=contact

Drompo
12-08-2007, 04:42 PM
<style type"text/css">
.button {
width:100px;
height:100px;
border:none;
backgound:url(http://www.google.co.uk/image.png);
}
</style>

<input class="button" value=" " name="submit" type="submit">

That ok?

Assassinator
12-08-2007, 04:46 PM
<style type"text/css">
.button {
width:100px;
height:100px;
border:none;
backgound:url(http://www.google.co.uk/image.png);
}
</style>

<input class="button" value=" " name="submit" type="submit">
That ok?

Ille try it now.Would i have to enter than on each page btw?

Drompo
12-08-2007, 04:55 PM
Ille try it now.Would i have to enter than on each page btw?
Yes.

The style bit in the head section and the input code where you want the button.

You'd need to modify the CSS (Style) bits to suit your image

Want to hide these adverts? Register an account for free!