Wrox Programmer Forums
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 27th, 2004, 04:39 AM
Authorized User
 
Join Date: Aug 2003
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to spraveens
Default coloring Button

Hi
     I would like to know How to change the Color of a Button??

Thankx

Praveen

 
Old March 27th, 2004, 05:47 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Use a style, either inline of in a stylesheet:
Code:
<input type="button" value="Click Me" style="color: #dd0000;background-color: #00dd00">
--

Joe
 
Old March 27th, 2004, 06:02 AM
Authorized User
 
Join Date: Aug 2003
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to spraveens
Default

Thankz A lot !!

Praveen :)






Similar Threads
Thread Thread Starter Forum Replies Last Post
help coloring individual listview item instead al method Visual C++ 1 August 1st, 2006 08:25 AM
coloring datagrid preethi_04 .NET Framework 1.x 1 December 22nd, 2005 01:11 AM
Coloring forms rrojasg Excel VBA 1 July 14th, 2005 08:53 AM
complex alternate row coloring problem. enT XSLT 1 October 18th, 2003 03:11 AM
Coloring Information in Richtextbox Control bmains Pro VB.NET 2002/2003 0 August 13th, 2003 03:24 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.