Icons attached to elements floating to top of element

3 posts, 1 answers
  1. Martin
    Martin avatar
    20 posts
    Member since:
    Apr 2009

    Posted 10 Jul 2013 Link to this post

    Hi,
    I have an issue where with all my kendoUI elements using the default theme (have not checked with other themes) any icons attached to elements are pushed to the top of the parent element.

    On the demos the icons float in the center of the parent elements, however I cannot seem to get this effect.

    I have attached a zip which contains a one page website with two drop down boxes to illustrate the effect I am experiencing.

    If you could advise that would be much appreciated.

    Thank you
    Martin
  2. Answer
    Dimo
    Admin
    Dimo avatar
    8446 posts

    Posted 11 Jul 2013 Link to this post

    Hi Martin,

    It appears that the problem is caused by XHTML Transitional DOCTYPE, which prevents some styles from being applied correctly. Please use the HTML5 DOCTYPE or the XHTML 1.0 Strict one.

    Regards,
    Dimo
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Martin
    Martin avatar
    20 posts
    Member since:
    Apr 2009

    Posted 11 Jul 2013 Link to this post

    It worked!
    Thanks Dimo,
    Martin
Back to Top