37 users online (0 members and 37 guests)  


  Results 1 to 3 of 3

Related

  1. textbox overlay suggestion    Forum: Javascript Forum
    Replies: 1
  2. Positioning Textbox??    Forum: HTML Forum
    Replies: 3
  3. How to get the cursor position in textbox    Forum: Javascript Forum
    Replies: 0
  4. textbox to url    Forum: Javascript Forum
    Replies: 0
  1. #1
    laguna82alan's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2002
    Location
    singapore
    Posts
    2

    Question 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?

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hello.

    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 -

    http://www.ahfb2000.com/webmaster_he...=4219#post4219

    Its got Benzdens funky textbox in it, so have fun
    If 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?

  3. #3
    laguna82alan's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2002
    Location
    singapore
    Posts
    2
    thanks for the link, its very useful.



Tags for this Thread