문제

jquery-ui-1.8.6.custom.css에서 다음 보석을 찾았습니다.

/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
.ui-datepicker-cover {
    display: none; /*sorry for IE5*/
    display/**/: block; /*sorry for IE5*/
    position: absolute; /*must have*/
    ...
}

분명히, display style은 IE의 버그에 대한 해결 방법입니다.CSS를 올바르게 이해하면 다음과 같이 동작해야 합니다. display: block; (즉.첫 번째 항목 ~해야 한다 두 번째로 재정의됩니다).

어떤 IE 버전에 이것이 필요합니까?5.x 또는 6만 가능합니까?

도움이 되었습니까?

해결책

보다: http://www.communis.co.uk/dithered/css_filters/css_only/property_empty_comment.html:

#testElement {
   color/**/: #00cc00;
   }

신청자
..
IE 5.5 - 6.x 승리
..

적용되지 않는 사람
IE 4.0 - 5.0 승리
..

그래서 댓글은 /*sorry for IE5*/ 해킹에 대해 적절하게 설명합니다. IE5.0 사용자 없음 아직 존재하는 것은 아무것도 볼 수 없을 것이다 .ui-datepicker-cover 강요.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top