Unstoppable Domains โ€” Get your daily AI drops report

Changing button colors in form

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Spacemail by SpaceshipSpacemail by Spaceship
Watch
Impact
48
can some one tell me how to change the background colors of a button on a form
and also the text and background colors of form(the line where people type in the text)

thanks

a sample here would be great

example when u click the submit message or submit new thread button at namepros its gray in color with black text on it.
how i change that to my liking
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Use CSS.

Create a class for that button. It would look like this

.submitbutton { background-color:#color_you_want; }

And in your form you will have to put :

<input type="submit" class="submitbuton" value="Click me">

Hope this helps.
 
0
•••
StudioWorks said:
Use CSS.

Create a class for that button. It would look like this

.submitbutton { background-color:#color_you_want; }

And in your form you will have to put :

<input type="submit" class="submitbuton" value="Click me">

Hope this helps.
Correct.

Also, if you want the hand cursor to appear on rollover you need to use:

Code:
cursor:pointer;

Instead of 'hand'.
 
0
•••
StudioWorks said:
Use CSS.

Create a class for that button. It would look like this

.submitbutton { background-color:#color_you_want; }

And in your form you will have to put :

<input type="submit" class="submitbuton" value="Click me">

Hope this helps.
It really depends dude, sometimes you might use html or php :sick:
 
0
•••
i am lookiong for simple html
i did it once but dont remember it now

example it was something "HERE HERE"
<input name="url" type="text" value="http://www.example.com" size="40" HERE HERE>
<input type="submit" name="Submit" value="Get PR" here here>

thats it and it changed all that i want
 
0
•••
Try this:

HTML:
<INPUT TYPE="text" STYLE="background-color: #CODEHERE;">
 
0
•••
robtehgod said:
Try this:

HTML:
<INPUT TYPE="text" STYLE="background-color: #CODEHERE;">
ya thats it,thanks a lot
love it u guys are great
 
0
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
CatchedCatched
Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back