Gossamer Forum
Home : Products : Links 2.0 : Customization :

change submit button to image/icon?

Quote Reply
change submit button to image/icon?
how can i change submit button to image/icon?
Quote Reply
Re: [Agus] change submit button to image/icon? In reply to
one way is via CSS .. works great for me ...

Gregor
Quote Reply
Re: [sc2utp] change submit button to image/icon? In reply to
the example code please??
Quote Reply
Re: [Agus] change submit button to image/icon? In reply to
<input type=image src="http://192.168.0.7/~tandat/gmail-2.0.6-Professional/images/templates/default/Login.gif" align=right border=0>

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [Agus] change submit button to image/icon? In reply to
Hi!

on the top between head tags put in

Code:
<link rel="stylesheet" href="url/to/your/links.css" type="text/css" title="style sheet">

in the above specified url put in links.css with following code in

Code:
input.button {
background-color: #CCCCCC;
background-image: url(images/button.gif);
height: 19;
width: 102;
border-style: outset;
border: thin;
font-family: verdana, sans-serif;
font-weight: normal;
font-size: 10px;
color: #666666;
cursor: hand;
}

input.buttonsearch {
background-color: #CCCCCC;
background-image: url(../images/buttonsearch.gif);
height: 19;
width: 70;
border-style: outset;
border: thin;
font-family: verdana, sans-serif;
font-weight: normal;
font-size: 10px;
color: #5B76B3;
cursor: pointer;
}

you can see exmaple of this codes at http://www.vstopnice.com/sgi/

of course images have to be put into required direcotries

that's for the quick answer :)

Gregor
Quote Reply
Re: [Agus] change submit button to image/icon? In reply to
The "traditional" method would be, e.g. in the add.html template:

<input type="image" src="/images/add.gif">
<input type="hidden" name="send_form" value="true">


...or similar.
Quote Reply
Re: [Tho:mas] change submit button to image/icon? In reply to
well ... Agus .. here is the answer of pro .. my was like, going from Spain to France over USA .. :) but you reach :)

Gregor