배경이미지 문제
본문
상단배경이미지가 늘리면같이늘어나고 줄이면 같이 줄어들어야하는데.
안 늘어나고 안 줄어듭니다.. 어떻게해야할까.
margin 0 auto; 해도 안되네여.
#hd {z-index:4;position:relative;min-width:1200px;background:#fff}
#hd_wrapper {position:relative;margin:0 auto;padding:26px 0;width:1200px;zoom:1}
#hd {background: url(/img/head/top_back.png); height: 70px}
답변 2
#hd {background: url(/img/head/top_back.png); no-repeat 50% 50%; background-size: cover; height: 70px}
이렇게해보세요!
max-width:100%;height:auto
답변을 작성하시기 전에 로그인 해주세요.