Thread: how to set color for textbox
Results 1 to 3 of 3
08-03-2002, 09:02 AM #1
how to set color for textbox
Hi!! currently i'm working on a simple form for on-line registration. It consist of some simple fields like login name , password , email etc...
No matter how hard i try to set color for the textbox which is actually <input type='text'>, i won't work. However, i saw someone actually did that before. Their website had textboxes with colors on it. i even got the code, it looks like this
<input type=password name=password size=15 maxlength=20 class=input style="height:18px;font-family:Arial;font-size:8pt;font-weight:bold;color:#CC0000">
I try this code on my page it won't show anything except a normal white textbox.
Can someone help mi? Or do i need to install some application on my server?
08-03-2002, 09:12 AM #2
The most efficient was to change the style of something is to use Cascading Style Sheets. CHeck out the link in my signature for an introduction to using them.
Purely by coincidence, I have been playing with a styled text box in another thread, here is the link -
Its got Benzdens funky textbox in it, so have funIf one of our members helps you, please click the icon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
08-03-2002, 09:50 AM #3
thanks for the link, its very useful.