"답변대기" 아이콘 뒤에 작성자 이름이 나오도록 코딩하였는데 간격이 너무 딱 붙어서 보기가 좋지 않아요 ㅠㅠ
어떻게 하면 될지 조언 부탁드립니다~
<div id="kboard-ask-one-latest">
<table>
<thead>
<tr>
<th class="kboard-latest-title"><?php echo __('Title', 'kboard')?></th>
<th class="kboard-latest-date"><?php echo __('Date', 'kboard')?></th>
</tr>
</thead>
<tbody>
<?php while($content = $list->hasNext()):?>
<tr>
<td class="kboard-latest-title">
<a href="<?php echo $url->set('uid', $content->uid)->set('mod', 'document')->toStringWithPath($board_url)?>">
<div class="kboard-ask-one-cut-strings">
<?php if($content->category2 == '답변대기'):?><span class="kboard-ask-one-status-wait" style="padding:1px;font-size:12px;">답변대기</span><?php endif?>
<?php if($content->category2 == '답변완료'):?><span class="kboard-ask-one-status-complete" style="padding:1px;font-size:12px;">답변완료</span><?php endif?>
<?php echo my_kboard_hide_username($content->member_display)?>
<?php if($content->isNew()):?><span class="kboard-ask-one-new-notify">N</span><?php endif?>
<?php if($content->secret):?><img src="<?php echo $skin_path?>/images/icon-lock.png" class="kboard-icon-lock" alt="<?php echo __('Secret', 'kboard')?>"><?php endif?>
<?php echo $content->title?>
<span class="kboard-comments-count"><?php echo $content->getCommentsCount()?>
</span>
</div>
</a>
</td>
<td class="kboard-latest-date"><?php echo $content->getDate()?></td>
</tr>
<?php endwhile?>
</tbody>
</table>
</div>
아래 처럼 <span> 태그로 감싼다음 padding 속성을 주시면 될 듯합니다.
<span style="padding-left:10px;"><?php echo my_kboard_hide_username($content->member_display)?></span>
적용해보시고 확인 가능한 페이지 주소도 알려주시겠어요?
고맙습니다.
너무감사드려요~~
잘되었습니다~
www.hiclaim.com