나는 반응 형 디자인을 배우려고하고 있으므로 튜토리얼을 다룰 준비가되어 있습니다. 창 크기가 줄어들 때 내 배너 이미지가 배너 div를 벗어나고 오른쪽의 크기가 올바르게 조정되지 않습니다. 나는 그것을 배너 div에 적용되는 스타일링으로 좁혔지만, 내 삶에 대해 알아낼 수는 없다. 내 코딩의 어떤 부분에서 그렇게 할 수 있습니까?CSS 이미지 이스케이프 부모
라이브 버전은 여기에서 볼 수있다 : http://ctxdesigns.net/nelson/
크롬에 따르면,이 당신은 문제가 100 % 사업부에 1 % 패딩을 추가
-webkit-background-clip: border-box;
-webkit-background-origin: padding-box;
-webkit-background-size: auto;
background-attachment: scroll;
background-clip: border-box;
background-color: rgb(255, 255, 255);
background-image: none;
background-origin: padding-box;
background-size: auto;
border-bottom-color: rgb(0, 0, 0);
border-bottom-style: none;
border-bottom-width: 0px;
border-image-outset: 0px;
border-image-repeat: stretch;
border-image-slice: 100%;
border-image-source: none;
border-image-width: 1;
border-left-color: rgb(0, 0, 0);
border-left-style: none;
border-left-width: 0px;
border-right-color: rgb(0, 0, 0);
border-right-style: none;
border-right-width: 0px;
border-top-color: rgb(0, 0, 0);
border-top-style: none;
border-top-width: 0px;
display: block;
float: left;
font-family: 'Times New Roman';
font-size: 16px;
font-style: normal;
font-variant: normal;
font-weight: normal;
height: 500px;
line-height: normal;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
padding-bottom: 9.796875px;
padding-left: 9.796875px;
padding-right: 9.796875px;
padding-top: 9.796875px;
vertical-align: baseline;
width: 980px;
화면 오른쪽 가장자리에있는 흰색 테두리를 말하고 있습니까? 그렇다면 배너의 패딩이 '980px'를 초과하여 전체 너비가 증가한다는 것과 관련이 있습니다. – showdev
배너 div를 이스케이프 처리한다는 것은 무엇을 의미합니까? 창문 가장자리에서 조금 떨어진 흰색의 "국경"을 의미합니까? – Becuzz