상단을 배경을 넣고 넓게 하고싶어요

상단을 배경을 넣고 넓게 하고싶어요

QA

상단을 배경을 넣고 넓게 하고싶어요

답변 1

본문

dd12cc38604269254e3afa0a2fc4cac7_1428564536_8693.jpg 

안녕하세요.

상단을 저런식으로 넓게 하고싶은데 아무리 해봐도 안되네요.ㅠㅠ

부탁드려요 그림은 넣을수 있는데 사이즈가 고정되어서 그림이 잘리네요.

그누보드 하단처럼 화면 넓게 하고싶어요.

 

/* 상단 레이아웃 */
#hd {z-index:4;position:relative;min-width:970px;background:#fff;
background:url(../img/bg.jpg) center top no-repeat #fff}
.hd_zindex {z-index:10 !important}
#hd_h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#hd_wrapper {position:relative;margin:0 auto;padding:26px 0;width:970px;zoom:1}
#hd_wrapper:after {display:block;visibility:hidden;clear:both;content:""}

#logo {float:left;padding:5px 0 0}

 

/* 하단 레이아웃 */
#ft {min-width:970px;border-top:1px solid #dde4e9;background:#f2f5f9}
#ft h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#ft p {margin:0;padding:10px 0;line-height:1.8em}

#ft_catch {position:relative;margin:0 auto;padding:20px 0 0;width:970px;text-align:center}

#ft_company {text-align:center}

#ft_copy {background:#414141}
#ft_copy div {position:relative;margin:0 auto;padding:10px 0;width:970px;color:#fff}
#ft_copy a {display:inline-block;margin:0 10px 0 0;color:inherit}
#ft_copy #ft_totop {position:absolute;top:10px;right:0}

이 질문에 댓글 쓰기 :

답변 1

 

#hd {z-index:4;position:relative;width:100%;background:url('넣으시려는background url') center top repeat-x;}

하시면될것같아요~

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 8
© SIRSOFT
현재 페이지 제일 처음으로