NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Design Discussion
Reload this Page changing button colors in form

Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms.

Advanced Search
9 members in live chat ~  
NamePros Design Contests NamePros Design Contests
Forum Sponsorship
Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest)



Closed Thread
 
LinkBack Thread Tools
Old 05-15-2005, 06:31 AM THREAD STARTER               #1 (permalink)
NamePros Expert
 
lovelylovely's Avatar
Join Date: Nov 2004
Location: LovelyDirectory.com
Posts: 5,593
lovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond repute
 




changing button colors in form


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
lovelylovely is offline  
Old 05-15-2005, 07:02 AM   #2 (permalink)
no one lives forever
 
StudioWorks's Avatar
Join Date: Apr 2004
Location: NamePros
Posts: 8,075
StudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to behold
 



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.
__________________
epagini.com mexicorealty.net softwarepit.com yadasoftware.com
StudioWorks is offline  
Old 05-15-2005, 07:35 AM   #3 (permalink)
NamePros Regular
 
Rowan W's Avatar
Join Date: Dec 2004
Location: QLD, Australia
Posts: 713
Rowan W will become famous soon enough
 



Originally Posted by StudioWorks
Use CSS.
????: NamePros.com http://www.namepros.com/web-design-discussion/90291-changing-button-colors-in-form.html

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'.
Rowan W is offline  
Old 05-15-2005, 08:06 AM   #4 (permalink)
Account Closed
Join Date: Apr 2005
Posts: 97
doomachine2000 will become famous soon enoughdoomachine2000 will become famous soon enough
 



Originally Posted by StudioWorks
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">
????: NamePros.com http://www.namepros.com/showthread.php?t=90291

Hope this helps.
It really depends dude, sometimes you might use html or php
doomachine2000 is offline  
Old 05-15-2005, 10:14 AM THREAD STARTER               #5 (permalink)
NamePros Expert
 
lovelylovely's Avatar
Join Date: Nov 2004
Location: LovelyDirectory.com
Posts: 5,593
lovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond repute
 




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
lovelylovely is offline  
Old 05-15-2005, 10:25 AM   #6 (permalink)
Account Closed
Join Date: May 2005
Location: Texas
Posts: 65
robtehgod is on a distinguished road
 



Try this:

HTML Code:
<INPUT TYPE="text" STYLE="background-color: #CODEHERE;">
robtehgod is offline  
Old 05-15-2005, 10:37 AM THREAD STARTER               #7 (permalink)
NamePros Expert
 
lovelylovely's Avatar
Join Date: Nov 2004
Location: LovelyDirectory.com
Posts: 5,593
lovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond reputelovelylovely has a reputation beyond repute
 




Originally Posted by robtehgod
Try this:

HTML Code:
<INPUT TYPE="text" STYLE="background-color: #CODEHERE;">
ya thats it,thanks a lot
????: NamePros.com http://www.namepros.com/showthread.php?t=90291
love it u guys are great
lovelylovely is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Form Button Question innovative Web Design Discussion 1 12-21-2004 08:08 AM
Paypal Settlement CMachuca The Break Room 3 07-31-2004 10:14 PM
PAYPAL Litigation johnn Domain Name Discussion 6 07-31-2004 09:51 PM
Paypal Settlement Lord The Break Room 2 07-30-2004 09:30 PM
php contact form wioth submit button TWM Programming 2 11-11-2003 10:20 AM

 
All times are GMT -7. The time now is 07:26 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger