kendo.compatibility.css??

2 posts, 0 answers
  1. David Beck
    David Beck avatar
    38 posts
    Member since:
    Jun 2010

    Posted 18 Jul 2013 Link to this post

     What is this used for? I was expecting some older IE declaration, but its actually a basic CSS file. Why isnt this just updated in the main CSS for Kendoui

    <!--This CSS entry was added by the Kendo UI VS Extensions for compatibility reasons-->
        <link href="@Url.Content("~/Content/kendo.compatibility.css")" rel="stylesheet" type="text/css" />
    .k-grid th a
    {
        position:static
    }
     
    .k-grid .k-grid-header th a
    {
        padding: .5em .2em .4em;
    }
     
    html body
    {
        border: 0
    }
    Any help is appreciated
  2. Dimo
    Admin
    Dimo avatar
    8446 posts

    Posted 22 Jul 2013 Link to this post

    Hi David,

    The kendo.compatibility.css file fixes problems caused by CSS rules in Site.css - the default stylesheet in the MVC project template. Some of the rules in Site.css have global or high-specificity selectors that break Kendo UI styling. Generally, you don't need this file for real-world applications, which use custom styles more wisely.

    We have recently included a similar explanation as a comment inside this file. Changes will take effect in next releases.

    Regards,
    Dimo
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top