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

JustCode reporting issues with CSS files

1 Answer 53 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Support Team
Top achievements
Rank 1
Support Team asked on 24 Oct 2012, 11:15 PM
JustCode is reporting the following errors in these CSS files:

jquery.ui.datepicker.min.css
".ui-datepicker-cover{display:none;display position:absolute;z-index:-1;..."

jquery-ui.min.css
".ui-datepicker-cover{display:none;display position:absolute;z-index:-1;..."

In my limited CSS experience, recommend removing the display bolded and italicized above:
".ui-datepicker-cover{display:none;position:absolute;z-index:-1;..."

Edit: using 2012.2.913 MVC wrapper and created project from VS Extension in VS 2012

Drew

1 Answer, 1 is accepted

Sort by
0
Accepted
Zdravko
Telerik team
answered on 29 Oct 2012, 09:53 AM
Hello,

 Thanks for the feedback.
It seems JustCode provides the right  error in this case because there is no such a property. I opened jquery-ui.css and the code there is like it follows:

.ui-datepicker-cover {
    display: none; /*sorry for IE5*/
    display/**/: block; /*sorry for IE5*/
    position: absolute; /*must have*/

    z-index: -1; /*must have*/
    filter: mask(); /*must have*/
    top: -4px; /*must have*/
    left: -4px; /*must have*/
    width: 200px; /*must have*/
    height: 200px; /*must have*/
}

That is why I think this is a jquery issue and in order to fix it I will recommend you to change the code manually and make the properties like the bold code above in your minified file jquery-ui.min.css. You can also ignore the error.
Thanks.

Regards,
Zdravko
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Code Analysis
Asked by
Support Team
Top achievements
Rank 1
Answers by
Zdravko
Telerik team
Share this question
or