Y

제목 내용 작성자 <- 크기 조절 질문 드립니다.

· 2013-08-14 (수) 15:34:23 · 1102 · 4
제목 없음-1.jpg
사진 첨부했습니다.

드림위버 내에서 숫자 입력을 해도 일정 이하론 폭이 좁아지지 않고
글자 들어가는 부분만 좁아지는 것 같아요...

헤드부분 제목(?)이라고 해야하나 그부분을 좀 줄여서 조정하고 싶은데

어딜 수정해야 하나요?

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>

첨부파일

제목 없음-1.jpg (290.3 KB)
0회 2013-08-14 15:34
|

댓글 4개

사진만보고는 알 수 없는부분이군요;;
소스를 올려주셔야할듯하네요;; CSS부분도 확인이 필요할듯하구요;;
2013-08-14 (수) 15:41:29
소스 올렸습니다 좀 많이 섞여있어서 정신없으시려나..
2013-08-14 (수) 15:45:32
앗 자문자답이 됐네요..
스타일
table-layout:fixed;
부분 없애니 잘되네여..ㅠ
ㅎㅎ
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
13-08-15 조회 1,630
13-08-15 조회 1,050
13-08-15 조회 1,642
13-08-15 조회 3,083
13-08-15 조회 811
13-08-15 조회 1,271
13-08-15 조회 1,110
13-08-15 조회 1,121
13-08-14 조회 1,624
13-08-14 조회 1,762
13-08-14 조회 1,035
13-08-14 조회 843
13-08-14 조회 1,619
13-08-14 조회 1,750
13-08-14 조회 1,038
13-08-14 조회 1,677
13-08-14 조회 1,103
13-08-14 조회 813
13-08-14 조회 1,288
13-08-14 조회 1,078