최신글 게시판 줄간격과

최신글 게시판 줄간격과

QA

최신글 게시판 줄간격과

본문

4dbb341f9ec4b515709bd272bd08a0c3_1463671507_5388.PNG
 

최신글 스킨이 위와 같습니다.

 

다 마음에 드는데... 문제가 두가지 정도 있습니다.

 

1. 줄간격이 너무 두껍습니다. 좀 압축을 하고 싶은데 어디를 수정해주면 되나요?

 

2. 클릭했을 때 새창에서 떠줘야하는데 저 조그만한 테두리 안에서 떠버리니 난감하네요. 수정할 부분을 알려주시면 감사하겠습니다!!

 

 

 

latest.skin.php 입니다.

 

 

 

    <table width="1%" cellpadding="0" cellspacing="0" style="margin:10px 0 0 0;" border="0px solid #00;">

<tbody>

    <?php for ($i=0; $i<count($list); $i++) {  ?>

        <tr>

<td colspan="4" align="left" height="10">

<table width="360">

<tbody>

<tr>

            <?php

            //echo $list[$i]['icon_reply']." ";

            echo "<a href=\"".$list[$i]['href']."\">";

            if ($list[$i]['is_notice'])

                echo "<strong>".$list[$i]['subject']."</strong>";

            else?>

<td width="20%" align="left" style="padding-left:5px;border-bottom:1px dashed #b8ada6"><span style="background:#b2a38f; color:#fff; border-radius:5px; padding:5px; "><?echo $list[$i]['datetime2'];?></span></td>

<td width="80%" height="43" style="border-bottom:1px dashed #b8ada6; font-weight:bold;"> 

<a href="<?echo $list[$i]['href'];?>" style="text-decoration:none;"><font style="font-family:나눔고딕; font-size:13px; color:#333;"><?echo $list[$i]['subject'];?></font></a></td>

<?

            if ($list[$i]['comment_cnt'])

                echo $list[$i]['comment_cnt'];

 

            echo "</a>";

 

            // if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }

            // if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }

 

             ?>

        </tr>

</tbody>

</table>

</td>

</tr>

    <?php }  ?>

    <?php if (count($list) == 0) { //게시물이 없을 때  ?>

            <tr>

<td colspan="4" align="left" height="25">

<table width="360">

<tbody>

<tr>게시물이 없습니다.</tr>

</tbody>

</table>

</td>

</tr>

    <?php }  ?>

</tbody>

</table>

</div>

 

<!-- } <?php echo $bo_subject; ?> 최신글 끝 -->

 

이 질문에 댓글 쓰기 :

답변 1

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

회원로그인

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