Results 1 to 2 of 2

Thread: input type text and css

  1. #1
    Join Date
    Nov 2006

    Question input type text and css


    on my form i have several input type texts.
    at the beginning all are disabled and i would like to give then a special look (in fact i would like to make then not look like input type field).
    therefore i was thinking to set the border to 0 and so on...

    however, close to each field i have a button on which customer can click.
    if user clicks on the button the input field should become editable and his style should turn to another css style.
    how can i link 2 styles to a field according to status disable/enable ?
    thanks a lot,


  2. #2
    Join Date
    Dec 2005
    change the class name using javascript when you enable the field and have two different classes in your stylesheet, enabled and disabled for example.
    I've switched careers...
    I'm NO LONGER a scientist,
    but now a web developer...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center