바쁘신데 죄송합니다
질문이있어서요...워낙 초보라 잘 모르겠네요
최근게시물을 사용하는데, 공지사항은 가장 최근게시물에 내용도 출력되어 나오쟎아요.
근데 내용이 길어지면 박스크기도 한없이 늘어나네요.
그래서 table width를 300으로 고정시켰는데도 마찬가지예요.
그리구 제로보드에는 손댄적 없어요.
아래에 소스도 함께 올립니다.
<style type=text/css>
BODY,TD,DIV {font-family:돋움;font-size:9pt;color:black;}
.comment {font-family:tahoma;font-size:7pt;color:#99cc00;}
.date {font-family:돋움;font-size:9pt;color:gray;}
A:link {color:black;text-decoration:none;}
A:visited {color:black;text-decoration:none;}
A:active {color:black;text-decoration:none;}
A:hover {color:gray;text-decoration:none;}
body
{scrollbar-face-color:#ffffff;
scrollbar-highlight-color:#ffffff;
scrollbar-3dlight-color:#FFFFFF;
scrollbar-shadow-color:#ffffff;
scrollbar-darkshadow-color:#FFFFFF;
scrollbar-track-color:#ffffff;
scrollbar-arrow-color:#99cc00}
</style>
<!-- 상단의 타이틀 -->
<table border="0" cellspacing=0 cellpadding=0 width="300">
<tr>
<td width="15">
<p><img src="[dir]1.jpg" width="15" height="15" border="0"></p>
</td>
<td width="100%">
<p><img src="[dir]2.jpg" width="100%" height="15" border="0"></p>
</td>
<td width="16">
<p><img src="[dir]3.jpg" width="16" height="15" border="0"></p>
</td>
</tr>
<tr>
<td width="15" background="[dir]4.jpg" border="0">
<p></p>
</td>
<td valign=top width="100%">
<table border="0" cellspacing=0 cellpadding=0 width="300">
<tr>
<td>
<b> [title]</b>
</td>
</tr><tr>
<td width="100%" height="2">
</td>
</tr>
<tr>
<tr>
<td width="100%" height="2" bgcolor="99cc00">
</td>
</tr>
<tr>
<td width="100%" height="6">
</td>
</tr>
<tr> <td> [notice_subject]<font class=date> [[notice_date]]</font></td></tr>
<tr>
<td width="100%" height="3">
</td>
</tr>
<tr>
<td width="100%" height="2" bgcolor="f4f4f4">
</td>
</tr>
<tr>
<td width="100%" height="5">
</td>
</tr>
</table>
<div style="overflow:auto;width:100%;height:160;padding:3px">
[notice_memo]
</div>
<table border="0" cellpadding="4" cellspacing="0" width="300">
<tr>
<td width="100%" height="5">
</td>
</tr>
<tr> <tr> <td>[loop]</td></tr>
<td style="border-width:1; border-top-color:rgb(244,244,244); border-top-style:solid;">
<p><font class=date>[[date]</font><span style="font-family:돋움; font-size:9pt; color:gray;">]</span> [subject] <font class=comment>[comment]</font></p>
</td>
<td>[/loop]</td>
</table>
</td>
<td width="16" background="[dir]5.jpg" border="0">
<p></p>
</td>
</tr>
<tr>
<td width="15">
<p><img src="[dir]6.jpg" width="15" height="14" border="0"></p>
</td>
<td width="100%">
<p><img src="[dir]7.jpg" width="100%" height="14" border="0"></p>
</td>
<td width="16">
박스크기를 고정하려면 어떻게 해야하는지 꼭좀 알려주세요.
그리고, 출력되는 제목의 글자수는 < ? print_bbs.....> 에서 정하잖아요.
그럼 혹시 출력되는 내용의 글자수를 제한할수도 있나요?
왕초보니까 쉽게 설명해주시면 감사하겠습니다.
답변 기다리겠습니다.
질문이있어서요...워낙 초보라 잘 모르겠네요
최근게시물을 사용하는데, 공지사항은 가장 최근게시물에 내용도 출력되어 나오쟎아요.
근데 내용이 길어지면 박스크기도 한없이 늘어나네요.
그래서 table width를 300으로 고정시켰는데도 마찬가지예요.
그리구 제로보드에는 손댄적 없어요.
아래에 소스도 함께 올립니다.
<style type=text/css>
BODY,TD,DIV {font-family:돋움;font-size:9pt;color:black;}
.comment {font-family:tahoma;font-size:7pt;color:#99cc00;}
.date {font-family:돋움;font-size:9pt;color:gray;}
A:link {color:black;text-decoration:none;}
A:visited {color:black;text-decoration:none;}
A:active {color:black;text-decoration:none;}
A:hover {color:gray;text-decoration:none;}
body
{scrollbar-face-color:#ffffff;
scrollbar-highlight-color:#ffffff;
scrollbar-3dlight-color:#FFFFFF;
scrollbar-shadow-color:#ffffff;
scrollbar-darkshadow-color:#FFFFFF;
scrollbar-track-color:#ffffff;
scrollbar-arrow-color:#99cc00}
</style>
<!-- 상단의 타이틀 -->
<table border="0" cellspacing=0 cellpadding=0 width="300">
<tr>
<td width="15">
<p><img src="[dir]1.jpg" width="15" height="15" border="0"></p>
</td>
<td width="100%">
<p><img src="[dir]2.jpg" width="100%" height="15" border="0"></p>
</td>
<td width="16">
<p><img src="[dir]3.jpg" width="16" height="15" border="0"></p>
</td>
</tr>
<tr>
<td width="15" background="[dir]4.jpg" border="0">
<p></p>
</td>
<td valign=top width="100%">
<table border="0" cellspacing=0 cellpadding=0 width="300">
<tr>
<td>
<b> [title]</b>
</td>
</tr><tr>
<td width="100%" height="2">
</td>
</tr>
<tr>
<tr>
<td width="100%" height="2" bgcolor="99cc00">
</td>
</tr>
<tr>
<td width="100%" height="6">
</td>
</tr>
<tr> <td> [notice_subject]<font class=date> [[notice_date]]</font></td></tr>
<tr>
<td width="100%" height="3">
</td>
</tr>
<tr>
<td width="100%" height="2" bgcolor="f4f4f4">
</td>
</tr>
<tr>
<td width="100%" height="5">
</td>
</tr>
</table>
<div style="overflow:auto;width:100%;height:160;padding:3px">
[notice_memo]
</div>
<table border="0" cellpadding="4" cellspacing="0" width="300">
<tr>
<td width="100%" height="5">
</td>
</tr>
<tr> <tr> <td>[loop]</td></tr>
<td style="border-width:1; border-top-color:rgb(244,244,244); border-top-style:solid;">
<p><font class=date>[[date]</font><span style="font-family:돋움; font-size:9pt; color:gray;">]</span> [subject] <font class=comment>[comment]</font></p>
</td>
<td>[/loop]</td>
</table>
</td>
<td width="16" background="[dir]5.jpg" border="0">
<p></p>
</td>
</tr>
<tr>
<td width="15">
<p><img src="[dir]6.jpg" width="15" height="14" border="0"></p>
</td>
<td width="100%">
<p><img src="[dir]7.jpg" width="100%" height="14" border="0"></p>
</td>
<td width="16">
박스크기를 고정하려면 어떻게 해야하는지 꼭좀 알려주세요.
그리고, 출력되는 제목의 글자수는 < ? print_bbs.....> 에서 정하잖아요.
그럼 혹시 출력되는 내용의 글자수를 제한할수도 있나요?
왕초보니까 쉽게 설명해주시면 감사하겠습니다.
답변 기다리겠습니다.
관련 강좌를 찾아보시면 어렵지 않게 찾을 수 있을겁니다.
검색으로 해결하셔야 겠네요..