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

override the styling ( textbox validation )

1 Answer 223 Views
Validation
This is a migrated thread and some comments may be shown as answers.
Hem
Top achievements
Rank 1
Hem asked on 20 Mar 2012, 02:33 PM
Hi

I'm trying to override this CSS for the Text box validation but it doesn't work and i dont know if im missing anything there.

.k-textbox .k-tooltip-validation
{
     margin-left: -20px !important;
}

thanks

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 20 Mar 2012, 04:13 PM
Hi Hem,

The provided CSS selector targets elements with a k-tooltip-validation CSS class, which are descendants of elements with a k-textbox CSS class. Such elements do not exist. The validation tooltip is not inside the validated element, but after it in the HTML source.

Probably you want to use the adjacent sibling selector instead.

Regards,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Validation
Asked by
Hem
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or