XE_WEBZINE 게시판 스킨의 테이블 cols및 css수정

git-svn-id: http://xe-core.googlecode.com/svn/trunk@2288 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-08-10 01:05:05 +00:00
parent a25d5cc602
commit cc9c8e68d0
2 changed files with 15 additions and 3 deletions

View file

@ -33,7 +33,7 @@ Jeong, Chan Myeong 070601~070630
.accountNavigation li.loginAndLogout { background:none; padding-left:0;}
/* boardList */
.boardList { width:100%; position:relative; border:1px solid #e0e1db;}
.boardList { width:100%; position:relative; border:1px solid #e0e1db; table-layout:fixed;}
.boardList tr.notice { background:#f8f8f8;}
.boardList tr.notice .num { font-size:.9em; font-weight:bold;}
.boardList tr.bg1 { background:#ffffff}
@ -65,7 +65,7 @@ Jeong, Chan Myeong 070601~070630
.boardList td.author a { font-size:1em; color:#333333;}
.boardList td.reading { font:.8em Tahoma; color:#999999; text-align:center;}
.boardList td.date { font:.8em Tahoma; color:#999999; text-align:center; white-space:nowrap;}
.boardList td.summary { border-top:none; vertical-align:top; color:#666666; line-height:1.25em;}
.boardList td.summary { border-top:none; vertical-align:top; color:#666666; line-height:1.25em; padding-left:20px;}
.boardList td.summary a { color:#666666; text-decoration:none; line-height:inherit;}
.boardList td.summary a:visited { color:#999999;}
.boardList td input { _margin:-3px;}

View file

@ -11,6 +11,13 @@
<!-- 목록 출력 -->
<table cellspacing="0" summary="" class="boardList">
<col width="50" />
<col width="120" />
<col />
<col width="120" />
<col width="60" />
<col width="60" />
<col width="80" />
<thead>
<tr>
<th scope="col" class="num">{$lang->no}</th>
@ -137,8 +144,13 @@
<td class="recommend">{$document->get('voted_count')}</td>
<td class="date">{$document->getRegdate('Y-m-d')}</td>
</tr>
<!--@if($document->thumbnailExists(100))-->
{@ $_col_count = 5}
<!--@else-->
{@ $_col_count = 6}
<!--@end-->
<tr class="bg{($no+1)%2+1}">
<td colspan="6" class="summary"><a href="{getUrl('','document_srl',$document->document_srl)}">{$document->getSummary(140)}</a></td>
<td colspan="{$_col_count}" class="summary"><a href="{getUrl('','document_srl',$document->document_srl)}">{$document->getSummary(120)}</a></td>
</tr>
<!--@end-->
<!--@end-->