페이지 상단이미지 질문합니다

페이지 상단이미지 질문합니다

QA

페이지 상단이미지 질문합니다

본문

3659928752_1559962616.692.png

 

[ 정상적일때 사진입니다 ]

 

3659928752_1559962630.7379.png

 

[ 잘못된 사진입니다 ]

 

head.php 입니다


<div id="wrapper">
<div class='top_<?php echo $bo_table?>'>
</div>
 
<div id="container">
<?php if (!defined("_INDEX_")) { ?><h2 id="container_title" class="top" title="<?php echo get_text($g5['title']); ?>"><?php echo get_head_title($g5['title']); ?></h2><?php } ?>

 

mobile.css 입니다


#wrapper {}
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
#container {position:relative;min-height:300px}
#container:after {display:block;visibility:hidden;clear:both;content:""}
#container_title {position:relative;font-weight:bold;background:#fff;color:#333; text-align:center;z-index:9;line-height:400px;color:#fff;font-size:2.5em;

background: rgba(0,0,0,0.5);
background:url('도메인/theme/grape/img/paral/paral_1.jpg') no-repeat center top;}
.top_notice {background:url('도메인/theme/grape/img/paral/paral_2.jpg') no-repeat center top;height:100px}

 

notice 테이블은 따로 분류해서 paral_1.jpg 이미지 대신 paral_2.jpg 이미지를 나오게 했는데

paral_1.jpg 이미지는 원래 자리에 나오고 새로 추가한 paral_2.jpg 이미지가 이상하게 위에 나옵니다.

어느부분을 잘못했는지 ...

이 질문에 댓글 쓰기 :

답변 1



<div id="wrapper">
<div></div>
<div id="container">
<?php if (!defined("_INDEX_")) { ?><h2 id="container_title" class="top top_<?php echo $bo_table?>" title="<?php echo get_text($g5['title']); ?>"><?php echo get_head_title($g5['title']); ?></h2><?php } ?>

이렇게 바꿔보시면 좋을것같습니다.

답변을 작성하시기 전에 로그인 해주세요.
전체 1,096
QA 내용 검색
filter #html ×

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT