Changing color of text in currency text box

3 posts, 0 answers
  1. PAUL
    PAUL avatar
    36 posts
    Member since:
    Aug 2012

    Posted 05 Nov 2012 Link to this post

    Hey, I know there has to be a simple way to do this but haven't found it yet.

    We have a currency text box that is disabled. When the value in it is less than zero we would like for the text to be red.

    I have found ways to change the text color  but not on a disabled one. May be best to change background color but still has to be done on disabled object.

    Is there a way to do this and if so how?


    Any help is appreciated.

    Paul
  2. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 06 Nov 2012 Link to this post

    Hello Paul,

    Internet Explorer does not allow changing text color of disabled elements. In all other browser setting some color with CSS should work, given that the correct (high enough) CSS specificity is supplied.

    Greetings,
    Dimo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. PAUL
    PAUL avatar
    36 posts
    Member since:
    Aug 2012

    Posted 06 Nov 2012 Link to this post

    Dimo,

    Thank you for your response and yes I figured that out. Very annoying but I just made the textbox readonly which of course causes other issues...

    Thanks for your reply
Back to Top