리스트에 출력되는 것 수정
본문
리스트에 보이는 '성명' '연락처'를 지우거나
제목밑으로 옮기고 싶은데
어떻게 수정하면 될까요?
모바일에서는 너무 촘촘해서 보기 싫게 나오네요.
<div class="tbl_head01 tbl_wrap">
<table>
<caption><?php echo $board['bo_subject'] ?> 목록</caption>
<thead>
<tr>
<?php if ($is_checkbox) { ?>
<th scope="col">
<label for="chkall" class="sound_only">현재 페이지 게시물 전체</label>
<input type="checkbox" id="chkall" onclick="if (this.checked) all_checked(true); else all_checked(false);">
</th>
<?php } ?>
<th scope="col">번호</th>
<th scope="col">구분</th>
<th scope="col">제목</th>
<th scope="col">성명</th>
<th scope="col">연락처</th>
<th scope="col">상태</th>
</tr>
</thead>
<tbody>
<?php
답변 1
지우시려면 현재
<?php if ($is_checkbox) { ?>
<th scope="col">
<label for="chkall" class="sound_only">현재 페이지 게시물 전체</label>
<input type="checkbox" id="chkall" onclick="if (this.checked) all_checked(true); else all_checked(false);">
</th>
<th scope="col">번호</th>
<th scope="col">구분</th>
<th scope="col">제목</th>
<th scope="col">성명</th>
<th scope="col">연락처</th>
<th scope="col">상태</th>
이부분에서 성명 연락처 5번째 6번째<th> 이니 이걸 지우시고
위 소스들 아래부분에서 6번째 7번쨰 td 를 찾아서 이것도 지워버리면 됩니다.
연락처를 제목 밑에 옮기려면 <th scope="col">연락처</th>지우시고 아래부분에 6번째(연락처) td 안의 내용을 4번째 <td></td>(제목)안에 넣으시고 6번째 td 는 삭제
이러한 방식으로 해주시면됩니다.