More in this section

Forums / General Discussions / Forms Builder CSS

Forms Builder CSS

3 posts, 0 answered
  1. Neil
    Neil avatar
    5 posts
    Registered:
    26 Mar 2009
    23 Aug 2011
    Link to this post
    I designed a simple form and added CSS classes to the textboxes for some custom styling.  When I publish the form and add it to a page, is not included in the <input ... />'s

    Thanks,
    Neil
  2. Neil
    Neil avatar
    5 posts
    Registered:
    26 Mar 2009
    24 Aug 2011
    Link to this post
    Discovered that the class is added to a wrapper div so you can scope all elements.
  3. Boyko Karadzhov
    Boyko Karadzhov avatar
    56 posts
    Registered:
    05 Dec 2016
    24 Aug 2011
    Link to this post
    Hi Neil,

    In the Css settings of the Page you need to add the "input" after the name of the css class:
    .myCss1 input
    {
    background-color: red;
    }

    Please note that the myCss1 Css style will be applied to the div that wraps the textbox. That's why you need to specify the input.

    Kind regards,
    Boyko Karadzhov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

3 posts, 0 answered