[問題]怎麼縮小版面(已解決謝謝文)

phpBB 2 Style Support
討論的範圍包含版面排列、樣式、配置;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

竹貓忠實會員
竹貓忠實會員
文章: 1058
註冊時間: 2003-05-15 00:30
來自: Game.Hack-遊戲駭客
聯繫:

文章 »

打開viewtopic_body.tpl在最上+入<table width="500"><tr><td>
最下加入</td></tr></table>
有事問問題,沒事答問題。
廣告不是這樣打滴!遊戲駭客
jessie
星球公民
星球公民
文章: 149
註冊時間: 2004-03-05 19:49
來自: Fann.City
聯繫:

文章 jessie »

freng 寫:To jessie

底下這篇文章不妨參考一下,不過它的下載點已不見了!
將文章內容顯示在圖片框架內.可自動縮圖及斷行
[風格][推薦]文章氣泡
文章泡泡是什麼?該篇文章的範例一二連結斷了
下載圖片也斷了 :cry:
●架設主機作業系統:WindowsXP
●快速架站程式:Appserv2.3.0
●上網方式:中華電信ADSL
●安裝的程式:Apache + php + MySql
●phpBB2 版本: 2.0.8a
安裝的外掛
圖檔
jessie
星球公民
星球公民
文章: 149
註冊時間: 2004-03-05 19:49
來自: Fann.City
聯繫:

文章 jessie »

文 寫:打開viewtopic_body.tpl在最上+入<table width="500"><tr><td>
最下加入</td></tr></table>

代碼: 選擇全部

<[color=#ff0044]table width="500"><tr><td>[/color]
<table width="100%" cellspacing="2" cellpadding="2" border="0">
  <tr> 
	<td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><br />
	  <span class="gensmall"><b>{PAGINATION}</b><br />
	    </span></td>
  </tr>
</table>

<table width="100%" cellspacing="2" cellpadding="2" border="0">
  <tr> 
	<td align="left" valign="bottom" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>   <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
	<td align="left" valign="middle" width="100%"><span class="nav">   <a href="{U_INDEX}" class="nav">{L_INDEX}</a> 
	  -> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
<td align="right" valign="bottom"><span class="mainmenu"><a href="{U_PRINT}" title="{L_PRINT}" class="nav" target="_blank"><img src="{U_PRINT_IMG}" alt="{L_PRINT}" border="0" /></a></span></td> 
</table>
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
	<tr align="right">
		<td class="catHead" colspan="2" height="28"><span class="nav"><a href="{U_VIEW_OLDER_TOPIC}" class="nav">{L_VIEW_PREVIOUS_TOPIC}</a> :: <a href="{U_VIEW_NEWER_TOPIC}" class="nav">{L_VIEW_NEXT_TOPIC}</a>  </span></td>
	</tr>
	{POLL_DISPLAY} 
	<tr>
		<th class="thLeft" width="150" height="26" nowrap="nowrap">{L_AUTHOR}</th>
		<th class="thRight" nowrap="nowrap">{L_MESSAGE}</th>
	</tr>
	<!-- BEGIN postrow -->
	<tr> 
		<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span style="filter: glow(color={postrow.GLOWING_COLOR},strength=3); height:10px; color:white; padding:1px; font-size : 11px"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}<br />{postrow.RR_HACK}<br /><!-- [BEGIN LEVEL MOD] --> 
<br /> 
<span class="postdetails">Level/Skill Ratio: <strong><font color=red>{postrow.POSTER_LEVEL}</font>/<font color=red>{postrow.POSTER_LEVEL_SKILLRATIO}</font></strong><br />Class: {postrow.POSTER_LEVEL_CLASSNAME}<br /><br />Element: {postrow.POSTER_LEVEL_ELEMENT}<br />
<table width="143" border="0" cellpadding="0" cellspacing="0" style="background-image:url(templates/subSilver/images/level_mod/lm_bkg.gif)"> 
<tr> 
<td><img src="images/spacer.gif" alt="" width="31" height="49" /></td> 
<td width="100%"> 
<table width="100%" border="0" cellspacing="0" cellpadding="0"> 
<tr> 
<td><img src="images/spacer.gif" alt="" width="20" height="6" /></td> 
</tr> 
<tr> 
<td><img src="templates/subSilver/images/level_mod/lm_hp_bar.gif" alt="{postrow.POSTER_HP}" title="{postrow.POSTER_HP}" width="{postrow.POSTER_HP_WIDTH}" height="9" /><img src="templates/subSilver/images/level_mod/lm_hp_bar_end.gif" alt="" width="4" height="9" /></td> 
</tr> 
<tr> 
<td><img src="images/spacer.gif" alt="" width="20" height="4" /></td> 
</tr> 
<tr> 
<td><img src="templates/subSilver/images/level_mod/lm_mp_bar.gif" alt="{postrow.POSTER_MP}" title="{postrow.POSTER_MP}" width="{postrow.POSTER_MP_WIDTH}" height="9" /><img src="templates/subSilver/images/level_mod/lm_mp_bar_end.gif" alt="" width="4" height="9" /></td> 
</tr> 
<tr> 
<td><img src="images/spacer.gif" alt="" width="20" height="4" /></td> 
</tr> 
<tr> 
<td><img src="templates/subSilver/images/level_mod/lm_exp_bar.gif" alt="{postrow.POSTER_EXP}" title="{postrow.POSTER_EXP}" width="{postrow.POSTER_EXP_WIDTH}" height="9" /><img src="templates/subSilver/images/level_mod/lm_exp_bar_end.gif" alt="" width="4" height="9" /></td> 
</tr> 
<tr> 
<td><img src="images/spacer.gif" alt="" width="20" height="8" /></td> 
</tr> 
</table> 
</td> 
</tr> 
</table> 
</span> 
<!-- [END LEVEL MOD] -->  
      {postrow.POSTER_ONLINE}</span><br /> 
		<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="100%"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen"> </span>   {L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
				<td valign="top" align="right" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
			</tr>
			<tr> 
\n				<td colspan="2"><hr /></td>
			</tr>
			<tr>
				<td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span>{postrow.ATTACHMENTS}<br /><br /><br /><br /><br /><br /><span class="gensmall">*本文內容為 <font color="blue">{postrow.POSTER_NAME}</font> 發表<font color="red">若覺得不錯請回覆支持喔!!*</span>
			</tr>
		</table></td>
	</tr>
	<tr> 
		<td class="{postrow.ROW_CLASS}" width="150" align="left" valign="middle"><span class="nav"><a href="#top" class="nav">{L_BACK_TO_TOP}</a></span></td>
		<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="bottom" nowrap="nowrap"><table cellspacing="0" cellpadding="0" border="0" height="18" width="18">
			<tr> 
				<td valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG}<script language="JavaScript" type="text/javascript"><!-- 

	if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 )
		document.write(' {postrow.ICQ_IMG}');
	else
		document.write('</td><td> </td><td valign="top" nowrap="nowrap"><div style="position:relative"><div style="position:absolute">{postrow.ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{postrow.ICQ_STATUS_IMG}</div></div>');
				
				//--></script><noscript>{postrow.ICQ_IMG}</noscript></td>
			</tr>
		</table></td>
	</tr>
	<tr> 
		<td class="spaceRow" colspan="2" height="1"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /></td>
	</tr>
	<!-- END postrow -->
	<tr align="center"> 
		<td class="catBottom" colspan="2" height="28"><table cellspacing="0" cellpadding="0" border="0">
			<tr><form method="post" action="{S_POST_DAYS_ACTION}">
				<td align="center"><span class="gensmall">{L_DISPLAY_POSTS}: {S_SELECT_POST_DAYS} {S_SELECT_POST_ORDER} <input type="submit" value="{L_GO}" class="liteoption" name="submit" /></span></td>
			</form></tr>
		</table></td>
	</tr>
</table>

<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
  <tr> 
	<td align="left" valign="middle" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>   <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
	<td align="left" valign="middle" width="100%"><span class="nav">   <a href="{U_INDEX}" class="nav">{L_INDEX}</a> 
	  -> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
	<td align="right" valign="top" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span> 
	  </td>
  </tr>
  <tr>
	<td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
  </tr>
</table>

<table width="100%" cellspacing="2" border="0" align="center">  
  <tr>  
   <td width="40%" valign="top" nowrap="nowrap" align="left">  
     <span class="gensmall">{S_WATCH_TOPIC}</span><br /> <br />{S_TOPIC_ADMIN}  
   </td>  
  </tr>  
</table>  

<table width="100%" cellspacing="2" border="0" align="center">  
  <tr>  
   <td valign="top" align="left">  
     <form name="quick_reply" action="{U_QUICK_REPLY}" method="post"><!-- Quick_Reply_MOD -->  
      <!-- BEGIN quick_reply_anonymous -->  
      <span class="gensmall"><b>{L_USERNAME}</b></span><br />  
      <span class="genmed"><input type="text" class="post" tabindex="1" name="username" size="25" maxlength="25" value="" /></span><br />  
      <!-- END quick_reply_anonymous -->  
      <textarea name="message" rows="7" cols="35" wrap="virtual" style="width:500px" class="post" onclick="{if(document.quick_reply.message.value=='{L_QUICK_REPLY_TOPIC}') document.quick_reply.message.value=''}">{L_QUICK_REPLY_TOPIC}</textarea><br />  
      {U_HIDDEN_FORM_FIELDS}  
      <input type="image" src="{QUICK_REPLY_IMG}" border="0" alt="{L_QUICK_REPLY_TOPIC}" onClick="if(document.quick_reply.message.value == '{L_QUICK_REPLY_TOPIC}' || document.quick_reply.message.value == ''){ alert('{L_EMPTY_MESSAGE}'); return false;}else{ return true;}" />  
     </form>  
   </td>  
   <td align="right" valign="top" nowrap="nowrap">{JUMPBOX}<span class="gensmall">{S_AUTH_LIST}</span></td>  
  </tr>  
</table>  
[color=#ff0044]</td></tr></table>[/color]
這樣加對吧...但依舊如此沒有變化.. :-(
看看我的網站吧...
http://haf.idol.com.tw
●架設主機作業系統:WindowsXP
●快速架站程式:Appserv2.3.0
●上網方式:中華電信ADSL
●安裝的程式:Apache + php + MySql
●phpBB2 版本: 2.0.8a
安裝的外掛
圖檔
竹貓忠實會員
竹貓忠實會員
文章: 1058
註冊時間: 2003-05-15 00:30
來自: Game.Hack-遊戲駭客
聯繫:

文章 »

先生...你快速回覆的table把整個表格都稱大了!當然沒用。。。

Search
<textarea name="message" rows="7" cols="35" wrap="virtual" style="width:500px"

替換
<textarea name="message" rows="7" cols="35" wrap="virtual" style="width:200px"
有事問問題,沒事答問題。
廣告不是這樣打滴!遊戲駭客
jessie
星球公民
星球公民
文章: 149
註冊時間: 2004-03-05 19:49
來自: Fann.City
聯繫:

文章 jessie »

文 寫:先生...你快速回覆的table把整個表格都稱大了!當然沒用。。。

Search
<textarea name="message" rows="7" cols="35" wrap="virtual" style="width:500px"

替換
<textarea name="message" rows="7" cols="35" wrap="virtual" style="width:200px"
呃...我不是先生...我是小姐..
問題解決了...謝謝文的指導
●架設主機作業系統:WindowsXP
●快速架站程式:Appserv2.3.0
●上網方式:中華電信ADSL
●安裝的程式:Apache + php + MySql
●phpBB2 版本: 2.0.8a
安裝的外掛
圖檔
竹貓忠實會員
竹貓忠實會員
文章: 1058
註冊時間: 2003-05-15 00:30
來自: Game.Hack-遊戲駭客
聯繫:

文章 »

jessie 寫:
文 寫:先生...你快速回覆的table把整個表格都稱大了!當然沒用。。。

Search
<textarea name="message" rows="7" cols="35" wrap="virtual" style="width:500px"

替換
<textarea name="message" rows="7" cols="35" wrap="virtual" style="width:200px"
呃...我不是先生...我是小姐..
問題解決了...謝謝文的指導
喔...那我改變一下語氣!

吼~小姐!妳快速回覆的TABLE用太大嚕啦!這樣當然沒用呀^^||
其實只要稍微更動一下快速回覆table的width就好了唷!妳試試吧~
如果還是不行的話!可以出來喝個咖啡~我再親自到府指導唷^Q^

祝 學習愉快 文
有事問問題,沒事答問題。
廣告不是這樣打滴!遊戲駭客
freng
星球公民
星球公民
文章: 97
註冊時間: 2002-02-02 15:16
來自: 台中大里
聯繫:

文章 freng »

jessie 寫: 文章泡泡是什麼?該篇文章的範例一二連結斷了
下載圖片也斷了 :cry:
底下有個"文章氣泡"的範例網站,覺的不錯所以推薦一下 :-D
需要的話,可向該站長問問看,檔案還在不在…\r
請按此連結觀看
GeniusKiKi
竹貓忠實會員
竹貓忠實會員
文章: 1086
註冊時間: 2003-10-28 14:50

文章 GeniusKiKi »

右鍵 => 檢視原始檔...
再也不當爛好人...
好人是小白轉型成大白的墊腳石...
法蘭克
星球普通子民
星球普通子民
文章: 4
註冊時間: 2004-03-01 16:38
來自: 電火球之都

文章 法蘭克 »

文 寫:補充:剛沒看清楚!你給的原始檔是overall_header.tpl
你要做的是縮小整個BB的大小還是要縮小文章板面?
如果是文章板面....
請問,如果要控制整個BB的大小需要改哪裡呢?
謝謝~
GeniusKiKi
竹貓忠實會員
竹貓忠實會員
文章: 1086
註冊時間: 2003-10-28 14:50

文章 GeniusKiKi »

控制整個 phpbb 的寬度則是修改 overall_header.tpl
反正改了以後會跟整個 phpbb 顯示有關的就是 overall_header.tpl 跟 overall_footer.tpl
再也不當爛好人...
好人是小白轉型成大白的墊腳石...
主題已鎖定

回到「風格問題討論」