This is a migrated thread and some comments may be shown as answers.

Input Boxes Righ Align with Skin=""

1 Answer 39 Views
Input
This is a migrated thread and some comments may be shown as answers.
Harry Kable
Top achievements
Rank 1
Harry Kable asked on 08 Apr 2010, 04:46 AM
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

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 08 Apr 2010, 07:47 AM
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.
Tags
Input
Asked by
Harry Kable
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or