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

kendo.compatibility.css??

1 Answer 106 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David Beck
Top achievements
Rank 1
David Beck asked on 19 Jul 2013, 03:08 AM
 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

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 22 Jul 2013, 07:17 AM
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!
Tags
General Discussions
Asked by
David Beck
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or