배너 이미지를 포함 시켰습니다. 내 코드 중 하나에서 잘 작동하지만 다른 코드에 동일한 배너를 포함하면 제대로 작동하지 않습니다. 이유를 말해 줄 수 있어요? 새 코드에서는 배너 외부에 공백이 표시됩니다.배너 이미지의 폭은 100 %이어야합니다.
http://jsfiddle.net/rajkumart08/y88WX/29/embedded/result/
.home .hero-unit {
background: none;
height: 318px;
padding: 1px 620px 0 0;
margin-right: -100px;
margin-left: -100px;
margin-bottom: 0;
background: url("http://www.defie.co/designerImages/defie_landing_page.png") right bottom no-repeat;
}
.hero-unit {
padding: 60px;
margin-bottom: 30px;
background-color: #eee;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
전체 화면의 100 % 또는 100 %? – penner