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

input text style problem

6 Answers 242 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Seaman
Top achievements
Rank 1
Seaman asked on 29 Dec 2011, 10:15 AM
hi all;
i want use kendoui css style on other dom Components,Look the same,i how to  set the <input type=text> class ?please help me ,thanks. 

6 Answers, 1 is accepted

Sort by
0
Kamen Bundev
Telerik team
answered on 29 Dec 2011, 10:25 AM
Hi Seaman,

You can use the .k-textbox class to style input elements.

All the best,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Seaman
Top achievements
Rank 1
answered on 29 Dec 2011, 10:40 AM
hi Kamen:
thank you answer my question,im use k-textbox style,
but the dom Component and kendoui's AutoComplete Does not look the same,have other way Solve this problem,
I hope they look the same,pls help me,thanks.




0
Kamen Bundev
Telerik team
answered on 29 Dec 2011, 10:52 AM
Hi Seaman,

You can imitate the AutoComplete by using its structure and classes, like this:
<span class="k-autocomplete k-header">
    <input style="width: 100%" type="text" class="k-input">
</span>


All the best,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Seaman
Top achievements
Rank 1
answered on 29 Dec 2011, 11:01 AM
im tryed,it's ok.thanks.
0
tom
Top achievements
Rank 1
answered on 02 Oct 2012, 03:51 PM
hi Kamen,

but the solution with the surrounding span tag, doesn't looks well with validation.
Maybe you have a solution for this?

Best regards,
Tom

0
Kamen Bundev
Telerik team
answered on 03 Oct 2012, 07:18 AM
Hello Damir,

Check Customizing Tooltip Position in our documentation.

Greetings,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
General Discussions
Asked by
Seaman
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
Seaman
Top achievements
Rank 1
tom
Top achievements
Rank 1
Share this question
or