Use CSS:

input {
        color: Navy;
        background: LightBlue;
}

(I'm writing from memory, but the essence is that.)

((HTH))
--
Un gran saludo/Big regards...
   Arturo Barajas, IT/Systems PPG MX (SJDR)
   (427) 271-9918, x448

> -----Original Message-----
> From: Sunfire [mailto:[EMAIL PROTECTED]
> Sent: Lunes, 03 de Marzo de 2003 11:13 a.m.
> To: [EMAIL PROTECTED]
> Subject: [PHP] changing colors on buttons
> 
> 
> is there a way you can change the text color on buttons as well as the
> background color for a button? i have a button that looks like:
> <input type="button" name="edit" value="edit"
> onclick="window.location='edit.php';"
> onkeypress="window.location='edit.php'">
> so is there a way to change text color and background color 
> for that? or is
> it better to use <button> and do it that way...
> my client wants light blue buttons with dark blue text on 
> them but we need
> "real buttons" if you really want to call them that..not 
> images that act
> like buttons...
> 
> tnx
> 
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.458 / Virus Database: 257 - Release Date: 2/24/2003
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to