Input Boxes Righ Align with Skin=""

2 posts, 0 answers
  1. Harry Kable
    Harry Kable avatar
    19 posts
    Member since:
    Jan 2010

    Posted 07 Apr 2010 Link to this post

    I am using RadTextBox, RadNumericTextBox and RadMaskedTextBox with Skin="" and using RadFormDecorator to create rounded corners in accordance with your recommendation.
    When I apply CssClass AlignRight { text-align:right; } the rounded corners disappear.
    How else can this be done?
    Regards
    Harry
  2. Dimo
    Admin
    Dimo avatar
    8482 posts

    Posted 08 Apr 2010 Link to this post

    Hi Harry,

    RadFormDecorator decorates only textboxes, which do not have a CSS class. The idea is that if a textbox has a CSS class, then probably it is styled by some other styles.

    In order to apply a right text alignment to the decorated textboxes, you can use CSS selectors with HTML elements instead of CSS classes, for example:

    .SomeContainer  input
    {
             text-align: right;
    }

    "SomeContainer" is a CSS class of an element, which wraps the textboxes.

    Regards,
    Dimo
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top