JustCode reporting issues with CSS files

2 posts, 1 answers
  1. Drew
    Drew avatar
    15 posts
    Member since:
    Jul 2006

    Posted 24 Oct 2012 Link to this post

    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
  2. Answer
    Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 29 Oct 2012 Link to this post

    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.

  3. DevCraft banner
Back to Top