Results 1 to 2 of 2

Thread: Disable Textbox through CSS

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2004
    Location
    India
    Posts
    53

    Disable Textbox through CSS

    hi everyone

    how can i disable a textbox using CSS...i want to apply CSS that disables test box and chages its BGColor and text color...rest i found, but disabling part is still mising.

    thnx.
    Yash

  2. #2
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131

    Re: Disable Textbox through CSS

    There is no way to disable it using CSS - CSS is for style only. You'd need to use JavaScript to do this.

    You could hide the textbox using "display: none" but I don't think this is what you want to do.

    DJ

    If I have been helpful please rate my post. If I haven't tell me!

Posting Permissions

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



Click Here to Expand Forum to Full Width