Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Colors in Input tag
Message
From
22/06/2001 22:29:18
 
General information
Forum:
Internet
Category:
HTML
Miscellaneous
Thread ID:
00522603
Message ID:
00522711
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform