免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
返回列表 發帖

[分享] 帖子漫畫框顯示

本帖最後由 n7197 於 2012-2-20 01:50 編輯

我不是原創~只是純分享給大家!

效果請見:http://n7197.66rt.com/viewthread.php?tid=197&extra=page%3D1

截圖:

sshot-1.jpg
2012-2-20 01:33


1.打開templates/default/css_viewthread.htm文件,在最後加入:
  1. .t_msg_plus {

  2.         margin; 0 10px;

  3. }

  4. .t_msg_plus td {

  5.         padding:0 !important;

  6. }
複製代碼
2.打開templates/default/viewthread_node.htm文件,查找:
  1. <table cellspacing="0" cellpadding="0"><tr><td class="t_msgfont" id="postmessage_$post[pid]">$post[message]</td></tr></table>
複製代碼
替換成:
  1. <div class="t_msg_plus">



  2. <TABLE cellSpacing=0 cellPadding=0 border=0>



  3. <!-----<TABLE cellSpacing=0 cellPadding=0 border=0
  4. style='TABLE-LAYOUT: fixed;WORD-WRAP:
  5. break-word'>---






  6. ---->



  7.                      <TBODY>



  8.                      <TR>



  9. <td width="14"><img src="http://homepage8.seed.net.tw/web@5/n7197/top_l.gif" width="14" height="8"></td>



  10. <td background="http://homepage8.seed.net.tw/web@5/n7197/top_c.gif"></td>



  11. <td width="16"><img src="http://homepage8.seed.net.tw/web@5/n7197/top_r.gif" width="16" height="8"></td>



  12. </tr><tr>



  13. <td vAlign="top" width="10" background="http://homepage8.seed.net.tw/web@5/n7197/center_l.gif"></td>



  14. <td bgColor="#fffff1" valign="top">



  15. <div style="font-size: {MSGFONTSIZE}">$post[message]</div>



  16. </td>



  17. <td vAlign="top" width="16" background="http://homepage8.seed.net.tw/web@5/n7197/center_r.gif"><img src="http://homepage8.seed.net.tw/web@5/n7197/top_r2.gif" width="16"







  18. height="8"></td>



  19. </tr><tr>



  20. <td vAlign="top" width="14"><img src="http://homepage8.seed.net.tw/web@5/n7197/foot_l1.gif" width="14" height="42"></td>



  21. <td background="http://homepage8.seed.net.tw/web@5/n7197/foot_c.gif"><img src="http://homepage8.seed.net.tw/web@5/n7197/foot_l3.gif" width="36" height="42"></td>



  22. <td align="right" width="16"><img src="http://homepage8.seed.net.tw/web@5/n7197/foot_r.gif" width="16" height="42"></td>



  23. </tr></table>



  24. </div>
複製代碼
最後要更新緩存

感謝分享,不錯呢~OWO

TOP

謝謝分享

TOP

感謝分享!

TOP

返回列表