제목 내용 작성자 <- 크기 조절 질문 드립니다. 정보
제목 내용 작성자 <- 크기 조절 질문 드립니다.본문
사진 첨부했습니다.
드림위버 내에서 숫자 입력을 해도 일정 이하론 폭이 좁아지지 않고
글자 들어가는 부분만 좁아지는 것 같아요...
헤드부분 제목(?)이라고 해야하나 그부분을 좀 줄여서 조정하고 싶은데
어딜 수정해야 하나요?
css부분
**
<style>
.board_top { clear:both; }
.board_list { clear:both; width:100%; table-layout:fixed; margin:5px 0 0 0; }
.board_list th { font-weight:bold; font-size:12px; }
.board_list th { background:url(<?=$board_skin_path?>/img/title_bg.gif) repeat-x; }
.board_list th { white-space:nowrap; height:34px; overflow:hidden; text-align:center; }
.board_list th { border-top:1px solid #ddd; border-bottom:1px solid #ddd; }
.board_list tr.bg0 { background-color:#fafafa; }
.board_list tr.bg1 { background-color:#ffffff; }
.board_list td { padding:3px; }
.board_list td { border-bottom:1px solid #ddd; }
.board_list td.num { color:#999999; text-align:center; }
.board_list td.checkbox { text-align:center; }
.board_list td.subject { overflow:hidden; }
.board_list td.name { padding:0 0 0 5px; }
.board_list td.datetime { font:normal 11px tahoma; text-align:center; }
.board_list td.hit { font:normal 11px tahoma; color:#BABABA; text-align:center; }
.board_list td.good { font:normal 11px tahoma; color:#BABABA; text-align:center; }
.board_list td.nogood { font:normal 11px tahoma; color:#BABABA; text-align:center; }
.board_list .notice { font-weight:normal; }
.board_list .current { font:bold 11px tahoma; color:#E15916; }
.board_list .comment { font-family:Tahoma; font-size:10px; color:#EE5A00; }
.board_button { clear:both; margin:10px 0 0 0; }
.board_page { clear:both; text-align:center; margin:3px 0 0 0; }
.board_page a:link { color:#777; }
.board_search { text-align:center; margin:10px 0 0 0; }
.board_search .stx { height:21px; border:1px solid #9A9A9A; border-right:1px solid #D8D8D8; border-bottom:1px solid #D8D8D8; }
/* UI Object */
.tbl_type,.tbl_type th,.tbl_type td{border:0}
.tbl_type{width:100%;border-bottom:1px solid #dddee2;font-family:'돋움',dotum;font-size:12px;table-layout:fixed}
.tbl_type caption{display:none}
.tbl_type th{padding:8px 0 5px 10px;border-top:1px solid #dddee2;background:#f1f1f3;color:#666;font-weight:bold;text-align:left;vertical-align:top}
.tbl_type td{padding:8px 5px 5px 12px;border-top:1px solid #dddee2;line-height:16px;vertical-align:top}
/* //UI Object */
<!--
.ui-datepicker { font:12px dotum; }
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year { width: 70px;}
.ui-datepicker-trigger { margin:0 0 -5px 2px; }
-->
</style>
**
**테이블소스**
<table width="100%" cellpadding="0" cellspacing="0" class="board_list">
<col width="50" />
<? if ($is_checkbox) { ?><col width="40" /><? } ?>
<col width="110" />
<col width="110" />
<col width="100" />
<col width="100" />
<col width="100" />
<col width="100" />
<col width="100" />
<? if ($is_good) { ?><col width="40" /><? } ?>
<? if ($is_nogood) { ?><col width="40" /><? } ?>
<tr>
<th width="50" align="left"> <span class="board_list">
<input onclick="if (this.checked) all_checked(true); else all_checked(false);" type="checkbox" />
</span></th>
<th width="50" align="left" class="stx">순번</th>
<? if ($is_checkbox) { ?>
<?}?>
<th>접수일시</th>
<th align="center"><span class="board_list">거래처</span></th>
<th align="left"><span class="board_list">연락처</span></th>
<th width="60" align="left"><span class="board_list">제품</span></th>
<th width="60" align="left"><span class="board_list">바두께</span></th>
<th width="60" align="left"><span class="board_list">색상</span></th>
<th align="left"><span class="board_list">규격</span></th>
<th width="200" align="left"><span class="board_list">비고</span></th>
<th align="left"><span class="board_list">금액</span></th>
<th align="left"><span class="board_list">출고일</span></th>
<th align="left"><span class="board_list">접수자</span></th>
</tr>
<?
for ($i=0; $i<count($list); $i++) {
$bg = $i%2 ? 0 : 1;
?>
<tr style="cursor:pointer" onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#f5f5f5'" onclick="location.href='<?=$list[$i][href]?>'">
<td width="50" align="center"> <input type="checkbox" name="chk_wr_id[]" value="<?=$list[$i][wr_id]?>" /> </td>
<td width="50" align="center"> <?
if ($list[$i][is_notice]) // 공지사항
echo "<b>공지</b>";
else if ($wr_id == $list[$i][wr_id]) // 현재위치
echo "<span class='current'>{$list[$i][num]}</span>";
else
echo $list[$i][num];
?> </td>
<? if ($is_checkbox) { ?>
<? } ?>
<td align="center"> <?=$list[$i][datetime2]?> </td>
<td align="center" nowrap="nowrap"><?=$list[$i][wr_1]?></td>
<td align="left"> <?=$list[$i][wr_3]?> </td>
<td width="60" align="left"> <?=$list[$i][wr_4]?> </td>
<td width="60" align="left"> <?=$list[$i][wr_5]?> </td>
<td width="60" align="left"> <?=$list[$i][wr_6]?> </td>
<td align="left"> <?=$list[$i][wr_content]?> </td>
<td width="200" align="left"> <?=$list[$i][wr_7]?> </td>
<td align="left"><font color="red"><b>₩ <?=$list[$i][wr_8]?></b></font> </td>
<td align="center"> <?=date("Y-m-d",strtotime($list[$i][wr_2]))?> </td>
<td align="center"> <?=$list[$i][wr_name]?> </td>
</tr>
<? } // end for ?>
<? if (count($list) == 0) { echo "<tr><td colspan='$colspan' height=100 align=center>게시물이 없습니다.</td></tr>"; } ?>
</table>
드림위버 내에서 숫자 입력을 해도 일정 이하론 폭이 좁아지지 않고
글자 들어가는 부분만 좁아지는 것 같아요...
헤드부분 제목(?)이라고 해야하나 그부분을 좀 줄여서 조정하고 싶은데
어딜 수정해야 하나요?
css부분
**
<style>
.board_top { clear:both; }
.board_list { clear:both; width:100%; table-layout:fixed; margin:5px 0 0 0; }
.board_list th { font-weight:bold; font-size:12px; }
.board_list th { background:url(<?=$board_skin_path?>/img/title_bg.gif) repeat-x; }
.board_list th { white-space:nowrap; height:34px; overflow:hidden; text-align:center; }
.board_list th { border-top:1px solid #ddd; border-bottom:1px solid #ddd; }
.board_list tr.bg0 { background-color:#fafafa; }
.board_list tr.bg1 { background-color:#ffffff; }
.board_list td { padding:3px; }
.board_list td { border-bottom:1px solid #ddd; }
.board_list td.num { color:#999999; text-align:center; }
.board_list td.checkbox { text-align:center; }
.board_list td.subject { overflow:hidden; }
.board_list td.name { padding:0 0 0 5px; }
.board_list td.datetime { font:normal 11px tahoma; text-align:center; }
.board_list td.hit { font:normal 11px tahoma; color:#BABABA; text-align:center; }
.board_list td.good { font:normal 11px tahoma; color:#BABABA; text-align:center; }
.board_list td.nogood { font:normal 11px tahoma; color:#BABABA; text-align:center; }
.board_list .notice { font-weight:normal; }
.board_list .current { font:bold 11px tahoma; color:#E15916; }
.board_list .comment { font-family:Tahoma; font-size:10px; color:#EE5A00; }
.board_button { clear:both; margin:10px 0 0 0; }
.board_page { clear:both; text-align:center; margin:3px 0 0 0; }
.board_page a:link { color:#777; }
.board_search { text-align:center; margin:10px 0 0 0; }
.board_search .stx { height:21px; border:1px solid #9A9A9A; border-right:1px solid #D8D8D8; border-bottom:1px solid #D8D8D8; }
/* UI Object */
.tbl_type,.tbl_type th,.tbl_type td{border:0}
.tbl_type{width:100%;border-bottom:1px solid #dddee2;font-family:'돋움',dotum;font-size:12px;table-layout:fixed}
.tbl_type caption{display:none}
.tbl_type th{padding:8px 0 5px 10px;border-top:1px solid #dddee2;background:#f1f1f3;color:#666;font-weight:bold;text-align:left;vertical-align:top}
.tbl_type td{padding:8px 5px 5px 12px;border-top:1px solid #dddee2;line-height:16px;vertical-align:top}
/* //UI Object */
<!--
.ui-datepicker { font:12px dotum; }
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year { width: 70px;}
.ui-datepicker-trigger { margin:0 0 -5px 2px; }
-->
</style>
**
**테이블소스**
<table width="100%" cellpadding="0" cellspacing="0" class="board_list">
<col width="50" />
<? if ($is_checkbox) { ?><col width="40" /><? } ?>
<col width="110" />
<col width="110" />
<col width="100" />
<col width="100" />
<col width="100" />
<col width="100" />
<col width="100" />
<? if ($is_good) { ?><col width="40" /><? } ?>
<? if ($is_nogood) { ?><col width="40" /><? } ?>
<tr>
<th width="50" align="left"> <span class="board_list">
<input onclick="if (this.checked) all_checked(true); else all_checked(false);" type="checkbox" />
</span></th>
<th width="50" align="left" class="stx">순번</th>
<? if ($is_checkbox) { ?>
<?}?>
<th>접수일시</th>
<th align="center"><span class="board_list">거래처</span></th>
<th align="left"><span class="board_list">연락처</span></th>
<th width="60" align="left"><span class="board_list">제품</span></th>
<th width="60" align="left"><span class="board_list">바두께</span></th>
<th width="60" align="left"><span class="board_list">색상</span></th>
<th align="left"><span class="board_list">규격</span></th>
<th width="200" align="left"><span class="board_list">비고</span></th>
<th align="left"><span class="board_list">금액</span></th>
<th align="left"><span class="board_list">출고일</span></th>
<th align="left"><span class="board_list">접수자</span></th>
</tr>
<?
for ($i=0; $i<count($list); $i++) {
$bg = $i%2 ? 0 : 1;
?>
<tr style="cursor:pointer" onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#f5f5f5'" onclick="location.href='<?=$list[$i][href]?>'">
<td width="50" align="center"> <input type="checkbox" name="chk_wr_id[]" value="<?=$list[$i][wr_id]?>" /> </td>
<td width="50" align="center"> <?
if ($list[$i][is_notice]) // 공지사항
echo "<b>공지</b>";
else if ($wr_id == $list[$i][wr_id]) // 현재위치
echo "<span class='current'>{$list[$i][num]}</span>";
else
echo $list[$i][num];
?> </td>
<? if ($is_checkbox) { ?>
<? } ?>
<td align="center"> <?=$list[$i][datetime2]?> </td>
<td align="center" nowrap="nowrap"><?=$list[$i][wr_1]?></td>
<td align="left"> <?=$list[$i][wr_3]?> </td>
<td width="60" align="left"> <?=$list[$i][wr_4]?> </td>
<td width="60" align="left"> <?=$list[$i][wr_5]?> </td>
<td width="60" align="left"> <?=$list[$i][wr_6]?> </td>
<td align="left"> <?=$list[$i][wr_content]?> </td>
<td width="200" align="left"> <?=$list[$i][wr_7]?> </td>
<td align="left"><font color="red"><b>₩ <?=$list[$i][wr_8]?></b></font> </td>
<td align="center"> <?=date("Y-m-d",strtotime($list[$i][wr_2]))?> </td>
<td align="center"> <?=$list[$i][wr_name]?> </td>
</tr>
<? } // end for ?>
<? if (count($list) == 0) { echo "<tr><td colspan='$colspan' height=100 align=center>게시물이 없습니다.</td></tr>"; } ?>
</table>
댓글 전체
사진만보고는 알 수 없는부분이군요;;
소스를 올려주셔야할듯하네요;; CSS부분도 확인이 필요할듯하구요;;
소스를 올려주셔야할듯하네요;; CSS부분도 확인이 필요할듯하구요;;
소스 올렸습니다 좀 많이 섞여있어서 정신없으시려나..
앗 자문자답이 됐네요..
스타일
table-layout:fixed;
부분 없애니 잘되네여..ㅠ
스타일
table-layout:fixed;
부분 없애니 잘되네여..ㅠ
ㅎㅎ