Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Changing button colors in form

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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
Close
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
Close
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
Close
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
Close
Try this:

HTML:
<INPUT TYPE="text" STYLE="background-color: #CODEHERE;">
 
0
Close
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
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back