1 頁 (共 1 頁)

[問題] 修正防止板面擴大

發表於 : 2006-04-02 05:00
jwxinst
●架設主機作業系統:Windows xp
●付費空間連結: http://www.forum.98.tc
●您的 phpBB2 版本:phpBB 2.0.19
●您的 phpBB2 連結網址: 不便公開.....

各位學長, 我一直都有個問題想請教

參考這一篇
http://phpbb-tw.net/phpbb/viewtopic.php?p=74614#74614

他裡面有寫道去修正防止板面擴大....
我在subsilver裡成功可以, 不過我一直都有個問題想請教

就比如
#
#---------打開------------
#
/templates/subSliver/viewtopic_body.tpl
#
#
#---------挖出------------
#
<td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
#
#---------換成------------
#
<td colspan="2"><table style="table-layout:fixed"><tr><td style="word-wrap:break-word"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td></tr></table></td>
我先說說subsilver(官方的)裡面整段是
<tr>
<td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
</tr>
</table></td>

</tr>
如果跟著以上去修改, 不會重覆了兩次 </td>嗎?

其實這個問題我一直都很想問......
整篇修正都好像把紅色的x2啦.....

ps: 我好像發錯地方- -"
但...

發表於 : 2006-04-02 05:49
kkt
jwxinst, 我也早發現過..

看上去似乎是
第一個 </td> 對應 <td colspan="2">
而第二個 </td> 是對應 <td style=

但不知為何這樣寫入也可以, 但確有效. 因為我也試過拿掉是不行的.



.

發表於 : 2006-04-02 05:53
jwxinst
是喔....
:oops: 不知道是否後來我先裝 attachment, 和cashmod, 導致</td>變成 useless呢?/...

目前重新建設....先做這類子的修正.....
所以....兩種風格目前仍然順利..... :oops:

發表於 : 2006-04-02 06:08
kkt
jwxinst, 這些斷行語法你較後期才改吧!!
把重型外掛先裝好. 小改動的外掛最後裝.

這是我自己的寶貴經驗, 不然倒過來可真費勁, 除非是一等一高手.


.

發表於 : 2006-04-02 06:37
jwxinst
目前仍然在努力地進行多國語言修正..... :oops:

發表於 : 2006-04-02 06:48
shihchieh
那個只是把文章的文字、簽名檔、編輯資訊用一個table把他重新框住而已
並沒有什麼重覆

代碼: 選擇全部

<td colspan="2">

  <table style="table-layout:fixed">
    <tr>
      <td style="word-wrap:break-word">
        <span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span>
        <span class="gensmall">{postrow.EDITED_MESSAGE}</span>
      </td>
    </tr>
  </table>

</td> 

發表於 : 2006-04-04 04:18
jwxinst
thx shihchieh學長的指導~