몇 가지 (확실한 이유가하지 않기 위하여) Internet Explorer에서 잘못 렌더링된다. 따라서 .wrap
클래스의 크기를 늘리고 로고의 왼쪽 여백을 약간 늘리십시오.
새로운 CSS :
div.logo img {
margin-top: -10% !important;
margin-left: 29% !important;
background-image: url(img/logo-bg.png);
background-repeat: no-repeat;
background-size: cover;
padding: 45px 59px;
background-position: center center;
}
div.wrap {
max-width: 916px;
margin: 0 auto;
}
편집 : 조건문을 사용하여
READ HERE., 위, IE10을 대상으로 않습니다이 무엇처럼 작동하지 않습니다. IE9 이하 타겟팅은이 방법을 통해 액세스 할 수 없습니다. IE10 이상을 대상으로하려면 다음과 같이 Javascript/jQuery 또는 특정 CSS 미디어 쿼리를 사용해야합니다.
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
div.logo img {
margin-top: -10% !important;
margin-left: 29% !important;
background-image: url(img/logo-bg.png);
background-repeat: no-repeat;
background-size: cover;
padding: 45px 59px;
background-position: center center;
}
div.wrap {
max-width: 916px;
margin: 0 auto;
}
}
어떤 IE 버전을 사용하고 있습니까? 또한 http://jsfiddle.net/ – Fizzix
을 제공하십시오. 안녕하세요 @fizzix 저는 IE 10을 사용하고 있습니다. 모든 버전에서 작동해야합니다. 나는 메뉴를 제대로 만들 수 없기 때문에 다음 사이트 링크를 제공하고 있습니다 : [link] (http://workspacefile.com/visavis/) –
내 답변이 추가되었습니다. 그게 뭔지 알려주세요. – Fizzix