style.php 수정후 검색창위치 이상..

style.php 수정후 검색창위치 이상..

QA

style.php 수정후 검색창위치 이상..

본문

안녕하세요

기본갤러리 게시판 사진목록을 가운데 정렬하고싶어서

 

 
/* 갤러리 목록 */
#bo_gall h2 {margin:0;padding:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#bo_gall #gall_ul {margin:10px 0 0;padding:0;list-style:none;zoom:1}
#bo_gall #gall_ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_gall .gall_li {float:left;margin:0 10px 30px 0}

 


#bo_gall h2 {margin:0;padding:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#bo_gall #gall_ul {float:right;position:relative;left:-50%;margin:10px 0 0;padding:0;list-style:none;zoom:1}
#bo_gall #gall_ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_gall .gall_li {float:left;position:relative;left:50%;margin:0 10px 30px 0}

 

아래처럼 바꿔주었더니

 

2040604806_1512438824.2173.png2040604806_1512438830.4466.png그림처럼 관리자모드에서는 밑에 제목검색칸이 제대로 위치해있는데

비로그인으로 접속하면 위에 그림처럼 이상한위치로 날아가버립니다.. 무엇이 잘못되었을까요?

저 파일로 샘플 보내주신분은 비로그인인거같은데도 제자리에있었는데.. 제가 다른무엇을 건드린건지

원본이랑 비교해도 잘안찾아집니다 ..원본파일을 통쨰로 넣어도 저렇게됩니다..

 

이 질문에 댓글 쓰기 :

답변 2

list.skin.php 파일에서

<?php if ($list_href || $is_checkbox || $write_href) { ?>

여기 바로 위에 추가해보세요.

<div style="clear:both"></div>

f12 개발자도구 확인해서 저기UI 가 어떻게 되어있는지 확인해보시고 

고치시면 될꺼같은데요

둘다 f12눌러서 클릭클릭해서 저 검색창부분누르면 둘다 아래처럼 똑같이나와가지구요..



<!-- 게시물 검색 시작 { -->
<fieldset id="bo_sch">
    <legend>게시물 검색</legend>

    <form name="fsearch" method="get">
    <input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
    <input type="hidden" name="sca" value="<?php echo $sca ?>">
    <input type="hidden" name="sop" value="and">
    <label for="sfl" class="sound_only">검색대상</label>
    <select name="sfl" id="sfl">
        <option value="wr_subject"<?php echo get_selected($sfl, 'wr_subject', true); ?>>제목</option>
        <option value="wr_content"<?php echo get_selected($sfl, 'wr_content'); ?>>내용</option>
        <option value="wr_subject||wr_content"<?php echo get_selected($sfl, 'wr_subject||wr_content'); ?>>제목+내용</option>
        <option value="mb_id,1"<?php echo get_selected($sfl, 'mb_id,1'); ?>>회원아이디</option>
        <option value="mb_id,0"<?php echo get_selected($sfl, 'mb_id,0'); ?>>회원아이디(코)</option>
        <option value="wr_name,1"<?php echo get_selected($sfl, 'wr_name,1'); ?>>글쓴이</option>
        <option value="wr_name,0"<?php echo get_selected($sfl, 'wr_name,0'); ?>>글쓴이(코)</option>
    </select>
    <label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
    <input type="text" name="stx" value="<?php echo stripslashes($stx) ?>" required id="stx" class="frm_input required" size="15" maxlength="20">
    <input type="submit" value="검색" class="btn_submit">
    </form>
</fieldset>
<!-- } 게시물 검색 끝 -->

답변을 작성하시기 전에 로그인 해주세요.
전체 123,666 | RSS
QA 내용 검색

회원로그인

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