Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Colors in Input tag
Message
De
22/06/2001 22:29:18
 
 
Information générale
Forum:
Internet
Catégorie:
HTML
Divers
Thread ID:
00522603
Message ID:
00522711
Vues:
16
Not sure if it works with Netscape, but in IE this would work, as an in-line style:
< input type="text" style="background-color:#FFAA66;color:#006699">
This looks like:


Otherwise, you can either define a class for it in the CSS file or as a declaration at the top of each page (the first option is better):
As a Class:
.myinput {background-color:mycolor}

To apply to all INPUT tags:
INPUT {background-color:mycolor}
You can do all sorts of things with style sheets. Good luck.


>Hello,
>Is there a way to make the background color of an input box have color.
>Thanks
> --Mike
Andres M. Chiriboga, MCSE, MCP+I
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform