답변글의 화살표 아이콘이 크롬에서

답변글의 화살표 아이콘이 크롬에서

QA

답변글의 화살표 아이콘이 크롬에서

본문

우선 초보자라서 질문이 많아서 죄송 합니다......
 
無題.jpg
 
첨부 이미지에서 보시다 싶이. 답변에 답변을 하면 점차적으로 답변 화살표 아이콘과 답변글 박스와의
사이의 간격이 커지고, 화살표 아이콘의 위치는 고정된 상태로 나오네요.
 
화살표와 답변글 박스와의 사이에 간격이 생기지 않고, 화살표도 답변글에 따라 이동하게끔 할수 없을까요.....
 
현재 사용중인 익스9에서는 문제가 없습니다.
 
관련 소스는 아래와 같습니다.
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr>
    <td valign=top><? for ($k=0; $k<strlen($list[$i][wr_comment_reply]); $k++){
      if($k== strlen($list[$i][wr_comment_reply])-1) {
          echo "<img src='$board_skin_path/img/co_re.gif' border=0>   ";
       }else{
          echo "      ";
    }
} ?>
</td>
    <td width='100%'>
        <table border=0 cellpadding=0 cellspacing=0 width=100%>
        <tr>
            <td height=1 colspan=2></td>
        </tr>
        <tr>
            <td valign="top" height="30" style="border:1px solid #b9c695;">
                <div style="height:30px; border-left:3px #b9c695 solid; clear:both; line-height:28px; background:#f9f9f9; border-bottom:1px solid #b9c695;">
                <div style="float:left; margin:0 0 0 5px;">
                <strong><?=$list[$i][name]?></strong>
                <span style="color:#888888; font-size:11px;"><?=$list[$i][datetime]?></span>
                </div>
                <div style="float:right;">
                <? if ($is_ip_view) { echo " <span style=\"color:#B2B2B2; font-size:11px;\">{$list[$i][ip]}</span>"; } ?>
                <? if ($list[$i][is_reply]) { echo "<a href=\"javascript:comment_box('{$comment_id}', 'c');\"><img src='$board_skin_path/img/co_btn_reply.gif' border=0 align=absmiddle alt='답변'></a> "; } ?>
                <? if ($list[$i][is_edit]) { echo "<a href=\"javascript:comment_box('{$comment_id}', 'cu');\"><img src='$board_skin_path/img/co_btn_modify.gif' border=0 align=absmiddle alt='수정'></a> "; } ?>
                <? if ($list[$i][is_del])  { echo "<a href=\"javascript:comment_delete('{$list[$i][del_link]}');\"><img src='$board_skin_path/img/co_btn_delete.gif' border=0 align=absmiddle alt='삭제'></a> "; } ?>
                 
                </div>
                </div>
                <!-- 코멘트 출력 -->
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <td width="60" align="center" valign="top" style="padding:7px 0 7px 7px;">
    <?=level_icon($list[$i][mb_id])?>
    </td>
    <td valign="top" style="padding:7px;">
                <div style='line-height:1.5; word-break:break-all; overflow:hidden; clear:both;'>
                <?
                if (strstr($list[$i][wr_option], "secret")) echo "<span style='color:#ff6600;'>*</span> ";
                $str = $list[$i][content];
                if (strstr($list[$i][wr_option], "secret"))
                    $str = "<span class='small' style='color:#ff6600;'>$str</span>";
                $str = preg_replace("/\[\<a\s.*href\=\"(http|https|ftp|mms)\:\/\/([^[:space:]]+)\.(mp3|wma|wmv|asf|asx|mpg|mpeg)\".*\<\/a\>\]/i", "<script>doc_write(obj_movie('$1://$2.$3'));</script>", $str);
                // FLASH XSS 공격에 의해 주석 처리 - 110406
                //$str = preg_replace("/\[\<a\s.*href\=\"(http|https|ftp)\:\/\/([^[:space:]]+)\.(swf)\".*\<\/a\>\]/i", "<script>doc_write(flash_movie('$1://$2.$3'));</script>", $str);
                $str = preg_replace("/\[\<a\s*href\=\"(http|https|ftp)\:\/\/([^[:space:]]+)\.(gif|png|jpg|jpeg|bmp)\"\s*[^\>]*\>[^\s]*\<\/a\>\]/i", "<img src='$1://$2.$3' id='target_resize_image[]' onclick='image_window(this);' border='0'>", $str);
                echo $str;
                ?>
                </div>
                <? if ($list[$i][trackback]) { echo "<p>".$list[$i][trackback]."</p>"; } ?>
                <span id='edit_<?=$comment_id?>' style='display:none;'></span><!-- 수정 -->
                <span id='reply_<?=$comment_id?>' style='display:none;'></span><!-- 답변 -->
                </div>
                <input type=hidden id='secret_comment_<?=$comment_id?>' value="<?=strstr($list[$i][wr_option],"secret")?>">
                <textarea id='save_comment_<?=$comment_id?>' style='display:none;'><?=get_text($list[$i][content1], 0)?></textarea></td>
    </table>
   </td>
        </tr>
        <tr>
            <td height=10 colspan=2></td>
        </tr>
        </table>
    </td>
</tr>
</table>

이 질문에 댓글 쓰기 :

답변 1

제가 보기엔 소스는 문제없는 것 같은데요.
실제 사이트를 봐야 정확한 진단이 가능할것 같네요.
될지 안될지 모르겠지만 다른 해결책이 없다면 아래 처럼 해보세요.


<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr>
	<td valign=top width="<?=strlen($list[$i][wr_comment_reply])*100?>px" style="text-align:right;">
		<img src='$board_skin_path/img/co_re.gif' border=0> 
	</td>
    <td>
        <table border=0 cellpadding=0 cellspacing=0 width=100%>
        <tr>
            <td height=1 colspan=2></td>
        </tr>
        <tr>
            <td valign="top" height="30" style="border:1px solid #b9c695;">
                <div style="height:30px; border-left:3px #b9c695 solid; clear:both; line-height:28px; background:#f9f9f9; border-bottom:1px solid #b9c695;">
                <div style="float:left; margin:0 0 0 5px;">
                <strong><?=$list[$i][name]?></strong>
                <span style="color:#888888; font-size:11px;"><?=$list[$i][datetime]?></span>
                </div>
                <div style="float:right;">
                <? if ($is_ip_view) { echo " <span style=\"color:#B2B2B2; font-size:11px;\">{$list[$i][ip]}</span>"; } ?>
                <? if ($list[$i][is_reply]) { echo "<a href=\"javascript:comment_box('{$comment_id}', 'c');\"><img src='$board_skin_path/img/co_btn_reply.gif' border=0 align=absmiddle alt='답변'></a> "; } ?>
                <? if ($list[$i][is_edit]) { echo "<a href=\"javascript:comment_box('{$comment_id}', 'cu');\"><img src='$board_skin_path/img/co_btn_modify.gif' border=0 align=absmiddle alt='수정'></a> "; } ?>
                <? if ($list[$i][is_del])  { echo "<a href=\"javascript:comment_delete('{$list[$i][del_link]}');\"><img src='$board_skin_path/img/co_btn_delete.gif' border=0 align=absmiddle alt='삭제'></a> "; } ?>
                 
                </div>
                </div>
                <!-- 코멘트 출력 -->
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <td width="60" align="center" valign="top" style="padding:7px 0 7px 7px;">
    <?=level_icon($list[$i][mb_id])?>
    </td>
    <td valign="top" style="padding:7px;">
                <div style='line-height:1.5; word-break:break-all; overflow:hidden; clear:both;'>
                <?
                if (strstr($list[$i][wr_option], "secret")) echo "<span style='color:#ff6600;'>*</span> ";
                $str = $list[$i][content];
                if (strstr($list[$i][wr_option], "secret"))
                    $str = "<span class='small' style='color:#ff6600;'>$str</span>";
                $str = preg_replace("/\[\<a\s.*href\=\"(http|https|ftp|mms)\:\/\/([^[:space:]]+)\.(mp3|wma|wmv|asf|asx|mpg|mpeg)\".*\<\/a\>\]/i", "<script>doc_write(obj_movie('$1://$2.$3'));</script>", $str);
                // FLASH XSS 공격에 의해 주석 처리 - 110406
                //$str = preg_replace("/\[\<a\s.*href\=\"(http|https|ftp)\:\/\/([^[:space:]]+)\.(swf)\".*\<\/a\>\]/i", "<script>doc_write(flash_movie('$1://$2.$3'));</script>", $str);
                $str = preg_replace("/\[\<a\s*href\=\"(http|https|ftp)\:\/\/([^[:space:]]+)\.(gif|png|jpg|jpeg|bmp)\"\s*[^\>]*\>[^\s]*\<\/a\>\]/i", "<img src='$1://$2.$3' id='target_resize_image[]' onclick='image_window(this);' border='0'>", $str);
                echo $str;
                ?>
                </div>
                <? if ($list[$i][trackback]) { echo "<p>".$list[$i][trackback]."</p>"; } ?>
                <span id='edit_<?=$comment_id?>' style='display:none;'></span><!-- 수정 -->
                <span id='reply_<?=$comment_id?>' style='display:none;'></span><!-- 답변 -->
                </div>
                <input type=hidden id='secret_comment_<?=$comment_id?>' value="<?=strstr($list[$i][wr_option],"secret")?>">
                <textarea id='save_comment_<?=$comment_id?>' style='display:none;'><?=get_text($list[$i][content1], 0)?></textarea></td>
    </table>
   </td>
        </tr>
        <tr>
            <td height=10 colspan=2></td>
        </tr>
        </table>
    </td>
</tr>
</table>

김처로 님,,
답변 감사합니다만, 해보니간 아래처럼 되네요...
링크를 참고 하십시오.....ㅜㅜ
http://jeongbo-partner.com/board/bbs/board.php?bo_table=free&wr_id=11&page=0&sca=&sfl=&stx=&spt=0&page=0&cwin=#c_103

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

회원로그인

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