팝업창 위치 질문드립니다. 채택완료
팝업창을 등록하면 메인 레이아웃 기준으로 뜹니다. 그래서 인터넷창을 줄이면 같이 움직입니다.
그누4에서는 인터넷창을 기준으로 설정되어 창을 줄이거나 늘려도 인터넷창 왼쪽 끝부분에 고정되는데
그누5에서는 그누4처럼 팝업창을 인터넷 창 기준으로 위치시키려면 어떻게 해야하는지 궁금합니다.
/bbs/newwin.inc.php 파일을 수정해야하는지
css/default.css 파일의
/* 팝업레이어 */ #hd_pop {z-index:1000;position:relative;margin:0 auto;width:970px;height:0} #hd_pop h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} .hd_pops {position:absolute;border:1px solid #e9e9e9;background:#fff} .hd_pops_con {} .hd_pops_footer {padding:10px 0;background:#000;color:#fff;text-align:right} .hd_pops_footer button {margin-right:5px;padding:5px 10px;border:0;background:#393939;color:#fff}
이 부분을 어떻게 수정해야할까요? 도와주세요.. (__)
답변 1개
#hd_pop {z-index:1000;position:relative;margin:0 auto;width:970px;height:0}
여기서
margin:0 auto; 를 빼보세요.
답변에 대한 댓글 4개
테마 사용하신다면 테마 폴더 CSS를 수정해야 됩니다.
현재 수정이 안 돼있네요.
/* 팝업레이어 */
#hd_pop {z-index:1000;position:relative;margin:0 auto;width:970px;height:0}
#hd_pop h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
.hd_pops {position:absolute;border:1px solid #e9e9e9;background:#fff}
.hd_pops_con {}
.hd_pops_footer {padding:10px 0;background:#000;color:#fff;text-align:right}
.hd_pops_footer button {margin-right:5px;padding:5px 10px;border:0;background:#393939;color:#fff}
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인