PDA

View Full Version : submit button colors



chris9902
March 30th, 2003, 09:40 AM
ok i posted about 6 months ago with a request for the code on how to change the look of a submit button

you no the little gray button like on www.google.com

anyway i think it was wiped from the forums becoz i can't find it

can anyone post the code for my

i think it was css or something

thanks alot

liam
March 30th, 2003, 07:56 PM
chris,

i'm not sure about the CSS, but it's limiting as far as what you could do with it. you can, however, use an image as a submit button.

the code would look something like what follows:


<input name="image" type="image" src="submitButton.gif" alt="" width="77" height="18" border="0">

chris9902
March 30th, 2003, 08:10 PM
thanks alot that is even better

thanks alot man:)

liam
March 30th, 2003, 09:57 PM
anytime chris, glad i could help!

chris9902
March 31st, 2003, 08:31 AM
hey one last thing i keep ****ing this up



<!-- Atomz Search HTML for Grand Theft Auto guide -->
<form method="get" action="http://search.atomz.com/search/">
<input size=15 name="sp-q"><br>
<input type=submit value="Search">
<input type=hidden name="sp-a" value="sp10028986">
<input type=hidden name="sp-p" value="all">
<input type=hidden name="sp-f" value="ISO-8859-1">
</form>


thats the code were do i add yours to make a picture the buttton

is it this line
<input type=submit value="Search">

chris9902
March 31st, 2003, 05:32 PM
please help me anyone i really need this

were in this code


<!-- Atomz Search HTML for Grand Theft Auto guide -->
<form method="get" action="http://search.atomz.com/search/">
<input size=15 name="sp-q">
<input type=submit value="Search">
<input type=hidden name="sp-a" value="sp10028986">
<input type=hidden name="sp-p" value="all">
<input type=hidden name="sp-f" value="ISO-8859-1">
</form>

do i add "the code to make it a picture submit button not a gray one

liam
March 31st, 2003, 06:30 PM
chris, you don't have to post more than one time repeatedly about the same thing, that won't get your question answered faster.

anways, i made a small example. check it out at:

http://www.vmkdsn.com/kirupa/submit/search.htm

the code to make that was as follows:


<!-- Atomz Search HTML for Grand Theft Auto guide -->
<form method="get" action="http://search.atomz.com/search/">
<input size=15 name="sp-q">
<input type="image" value="Search" src="subscribe.gif" alt="" width="77" height="18" border="">
<input type=hidden name="sp-a" value="sp10028986">
<input type=hidden name="sp-p" value="all">
<input type=hidden name="sp-f" value="ISO-8859-1">
</form>

just replace the values in my code for the values that suit your project. hope that helped. :)

chris9902
April 1st, 2003, 12:03 PM
thank you Liam