안녕하세요
기본갤러리 게시판 사진목록을 가운데 정렬하고싶어서
/* 갤러리 목록 */
#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}
아래처럼 바꿔주었더니

그림처럼 관리자모드에서는 밑에 제목검색칸이 제대로 위치해있는데
비로그인으로 접속하면 위에 그림처럼 이상한위치로 날아가버립니다.. 무엇이 잘못되었을까요?
저 파일로 샘플 보내주신분은 비로그인인거같은데도 제자리에있었는데.. 제가 다른무엇을 건드린건지
원본이랑 비교해도 잘안찾아집니다 ..원본파일을 통쨰로 넣어도 저렇게됩니다..
답변 2개 / 댓글 2개
list.skin.php 파일에서
<?php if ($list_href || $is_checkbox || $write_href) { ?>
여기 바로 위에 추가해보세요.
<div style="clear:both"></div>
답변에 대한 댓글 1개
f12 개발자도구 확인해서 저기UI 가 어떻게 되어있는지 확인해보시고
고치시면 될꺼같은데요
답변에 대한 댓글 1개
[code]
<!-- 게시물 검색 시작 { -->
<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>
<!-- } 게시물 검색 끝 -->
[/code]
답변을 작성하려면 로그인이 필요합니다.