codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:



DHTML Stylish Form Buttons

Article by:  Jeff Anderson  ( 1362 ) (3/15/2002)
Bookmark us now! Add to Favourites
Email a friend!Tell a friend
Sponsored by: FindMyHosting - Web Hosting Search
Summary: Give your forms some life by spicing up those dull grey `submit` buttons and customising their color!
Viewed: 11787 times Rating (23 votes): 
 4.3 out of 5
 Rate this Article  Read Comments  Post Comments


Getting rid of those boring grey form buttons is really easy by adding a style attribute to the input tag:


	 
	
	<input type="submit" name="submit" style="background-color:#DEE3F7" value="Submit">
				 

The result looks like this:







CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
Rate this article:     Poor Excellent
View highlighted Comments
User Comments on 'DHTML Stylish Form Buttons'
Posted by :  Archive Import (Balasubramanian) at 00:52 on Monday, August 19, 2002
Basic but Good for a beginner like me!
Give me more!!!
Posted by :  Archive Import (Kelly Sweeney) at 23:26 on Tuesday, September 10, 2002
Hi,
I was wondering if there is a way to make the little down arrow box in a drop down menu can be modified to have color. If it can, please email me...
thank you
Posted by :  Archive Import (Arthur) at 21:21 on Tuesday, January 07, 2003
...and change the button text color with ;color:#000080
Posted by :  Archive Import (nigel) at 09:54 on Saturday, January 25, 2003
Is it possible to embed a sound in a form button to play on "click"?


To post comments you need to become a member. If you are already a member, please log in .

 











Recent Forum Threads
• hidden div block when displayed, displays at an offset of 200px only in IE 6..
• help - sketch
• Re: Perl Script - File Handling.
• Open a file from website
• Re: to open 5 terminals from one and also execute different commands on each terminal
• read a selected multiple line, those should match some of the values read in the files..
• Help me please
• Empty the contents of a file.
• Month Start, End dates


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2008