is it possible to change css attrib for only one field (type form-textbox)?

  • Profile Image
    tierheim_esslingen
    Asked on December 01, 2011 at 05:29 AM

    Hi there,

     

    I try to highlight one textfield in my form. Type is form-textbox.

    Is it possible to assign a css-stylesheet for only this field? The other fields of the same class shouldn't be effected of this.

     

    Thanks

    Niels

  • Profile Image
    tierheim_esslingen
    Answered on December 01, 2011 at 05:52 AM

    additional note:

    It's the first field (id="input_3") in the screenshot that should be highligted.

    I tried it with the css-statement

    #input_3 div[style].form-textbox {
    background-color: #BD8D46 !important;
    }

    but it doesn't work.

  • Profile Image
    idarktech
    Answered on December 01, 2011 at 05:55 AM

    Hi Niels,

    Please remove this line from your existing css code div[style].form-textbox, so your code should look like this:

    #input_3 {

    background-color: #BD8D46 !important;

    }

    That should work. 

    Let us now if you have further questions. Thanks.