게시판 글씨기파일 수정중 문의드립니다.

게시판 글씨기파일 수정중 문의드립니다.

QA

게시판 글씨기파일 수정중 문의드립니다.

본문

안녕하세요. 그누보드 게시판의 글쓰기 화면부분을 수정하고 있는중에 문의드립니다.

<tr><td> 를 이용해서 URL처럼 한줄로 추가하는 것이 이상없는데요.

그 밑의 노래제목 옵션 옆에 가수명 제목 입력부분처럼 옆으로도 입력부분이 나오도록 수정하니 아래 첫번째 그림처럼 글쓰기 화면이 파란색 원 두개 부분을 보면 원래 녹색부분까지 가 있었는데 좌측으로 밀려버리고 보기좋지않게 글쓰기 추가한 부분은 우측의 메뉴부분까지 벗어나버리네요..

원래 나타내고자 하는것은 화살표 아래 그림처럼 적절한 위치에 글쓰기 항목을 추가하려고 한답니다.

아래 실제로 적용한 소스부분을 빨간색으로 해두었습니다.

별로 이상하지 않은것 같은데... 안되네요.

어떻게 수정해야 보기좋게 2열로도 글쓰기 항목을 위치하게 할 수 있을까요?

도움의 말씀 부탁드립니다~~

77195db4ad1f7c9bedf3de2d0bcca32a_1425630078_0837.jpg
 

 

 

 

<div class="tbl_frm01 tbl_wrap">
        </tr>
        <tbody>
        <?php if ($is_name) { ?>
        <tr>
            <th scope="row"><label for="wr_name">이름<strong class="sound_only">필수</strong></label></th>
            <td><input type="text" name="wr_name" value="<?php echo $name ?>" id="wr_name" required class="frm_input required" size="10" maxlength="20"></td>
        </tr>
        <?php } ?>

        <?php if ($is_password) { ?>
        <tr>
            <th scope="row"><label for="wr_password">비밀번호<strong class="sound_only">필수</strong></label></th>
            <td><input type="password" name="wr_password" id="wr_password" <?php echo $password_required ?> class="frm_input <?php echo $password_required ?>" maxlength="20"></td>
        </tr>
        <?php } ?>

        <?php if ($is_email) { ?>
        <tr>
            <th scope="row"><label for="wr_email">이메일</label></th>
            <td><input type="text" name="wr_email" value="<?php echo $email ?>" id="wr_email" class="frm_input email" size="50" maxlength="100"></td>
        </tr>
        <?php } ?>

        <?php if ($is_homepage) { ?>
        <tr>
            <th scope="row"><label for="wr_homepage">홈페이지</label></th>
            <td><input type="text" name="wr_homepage" value="<?php echo $homepage ?>" id="wr_homepage" class="frm_input" size="50"></td>
        </tr>
        <?php } ?>

        <?php if ($option) { ?>
        <tr>
            <th scope="row">옵션</th>
            <td><?php echo $option ?></td>
        </tr>
        <?php } ?>


  <tr>
         <th>URL</th>
            <td colspan="5"><input name=wr_7 id="wr_7" itemname="URL" class="frm_input required" required value="<?=$write[wr_7]?>" size="50">
            </td>
        </tr>


  <tr>
         <th>노래제목</th>
            <td><input name=wr_8 id="wr_8" itemname="노래제목" class="frm_input required" required value="<?=$write[wr_8]?>">
            </td>
         <th>가수명</th>
            <td><input name=wr_1 id="wr_1" itemname="가수명" class="frm_input" value="<?=$write[wr_1]?>">
            </td>
        </tr>

 

                <tr>
            <th scope="row2">옵션</th>
                        <td><input name=wr_7 id="wr_7" itemname="URL" class="frm_input required" required value="" size="22"></td>
                        <th><label for="wr_7">제목<strong class="sound_only">필수</strong></label></th>
                        <td><input name=wr_7 id="wr_7" itemname="URL" class="frm_input required" required value="" size="22"></td>       
                      </tr>

 

 

 

 

 

        <?php if ($is_category) { ?>
        <tr>
            <th scope="row"><label for="ca_name">분류<strong class="sound_only">필수</strong></label></th>
            <td>
                <select name="ca_name" id="ca_name" required class="required" >
                    <option value="">선택하세요</option>
                    <?php echo $category_option ?>
                </select>
            </td>
        </tr>​ 

이 질문에 댓글 쓰기 :

답변 1

2단으로 들어가 있지 않은곳의 td 에 colspan="3" 을 넣어주시면 됩니다^^

 

ex)

<tr>

            <th scope="row"><label for="wr_name">이름<strong class="sound_only">필수</strong</label></th>
            <td colspan="3"><input type="text" name="wr_name" value="<?php echo $name ?>" id="wr_name" required class="frm_input required" size="10" maxlength="20"></td>

        </tr> 

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

회원로그인

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