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

[Solved] CSS Skin

1 Answer 90 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 20 May 2009, 03:11 PM
I am using WebBlue Skin.  I was able to override/add to them using my own CSS.  But I have an issue not being able to add another CssClass to the .rgEditForm.  I just want to right align them. 

So far I have:

.RadGrid_WebBlue

 

.rgEditForm input

 

{

 

font:12px/12px "segoe ui",arial,sans-serif;

 

 

height:12px;

 

}

Which works perfect.  When I added this it does not work:
<asp:TextBox ..... CssClass="RightAlign" />

.RightAlign
.RadGrid_WebBlue .rgEditForm input

 

{

 

    text-align:right;

 

}

Please help. 

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 20 May 2009, 03:23 PM
Hello Robert,

In case the CssClass is applied to textboxes inside the RadGrid edit form, the correct order of the CSS classes is:

.RadGrid_WebBlue  .rgEditForm  .RightAlign
{

}

For more general information about CSS selectors, please refer to:

http://css.maxdesign.com.au/selectutorial/

Kind regards,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Robert
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or