[求教]bbcode按鈕的對齊問題

phpBB Installation & Usage Support
phpBB 2 安裝於各類型作業平台之問題討論;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

版面規則
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
主題已鎖定
頭像
sh85216s
竹貓忠實會員
竹貓忠實會員
文章: 306
註冊時間: 2003-09-04 20:13
來自: 阿里阿度

[求教]bbcode按鈕的對齊問題

文章 sh85216s »

如圖
圖檔
請問要如何才能將紅色的php按鈕縮回藍色線內,它太突出了!
StickyKid
竹貓忠實會員
竹貓忠實會員
文章: 1019
註冊時間: 2003-01-31 10:32
來自: Taichung, Taiwan
聯繫:

文章 StickyKid »

改一下posting_body.tpl

table的部分
Helvetica is a feature-length independent film about typography.
竹貓忠實會員
竹貓忠實會員
文章: 1058
註冊時間: 2003-05-15 00:30
來自: Game.Hack-遊戲駭客
聯繫:

文章 »

StickyKid 寫:改一下posting_body.tpl

table的部分
沒錯!我之前也是在找!...找超久才發現\r
有個Table竟然有設width=xxx...= =||
有點無言的感覺...其他都設100%...偏偏這個指定寬度
有事問問題,沒事答問題。
廣告不是這樣打滴!遊戲駭客
頭像
sh85216s
竹貓忠實會員
竹貓忠實會員
文章: 306
註冊時間: 2003-09-04 20:13
來自: 阿里阿度

文章 sh85216s »

我覺得問題似乎有點棘手ㄝ,
當table的寬度比550小時,好像沒有感覺!
設定為大於600時,bbcode代碼之間的間距跟著加大.
第一列和第二列的bbcode代碼仍然無法對齊!?

\n似乎在"URL"後面加入"PHP"之後,便無法和"關閉標籤"對齊了??
頭像
sh85216s
竹貓忠實會員
竹貓忠實會員
文章: 306
註冊時間: 2003-09-04 20:13
來自: 阿里阿度

文章 sh85216s »

不知是否可以調整第一行的bbcode代碼的間距,來解決這個問題呢?
如果可以,不知道要改哪裡?
頭像
sh85216s
竹貓忠實會員
竹貓忠實會員
文章: 306
註冊時間: 2003-09-04 20:13
來自: 阿里阿度

文章 sh85216s »

跟各位報告一下:
剛剛突發奇想,問題似乎已解!
分享一下,如有錯誤,請不吝指正!!

vi posting_body.tpl

1.
搜尋

代碼: 選擇全部

<td colspan="10"> <span class="gensmall">
                          <input type="text" name="helpbox" size="45" maxlength="100" style="width:[color=red]450px[/color]; font-size:10px" class="helpline" value="{L_STYLES_TIP}" />
                          </span></td>
                  </tr>
                  <tr>
                        <td colspan="10"><span class="gen">
                          <textarea name="message" rows="15" cols="35" wrap="virtual" style="width:[color=red]450px[/color]" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea>
                          </span></td>
改為\r

代碼: 選擇全部

<td colspan="10"> <span class="gensmall">
                          <input type="text" name="helpbox" size="45" maxlength="100" style="width:[color=red]500px[/color]; font-size:10px" class="helpline" value="{L_STYLES_TIP}" />
                          </span></td>
                  </tr>
                  <tr>
                        <td colspan="10"><span class="gen">
                          <textarea name="message" rows="15" cols="35" wrap="virtual" style="width:[color=red]500px[/color]" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea>
                          </span></td>

2.
搜尋

代碼: 選擇全部

 <td colspan="[b][color=red]9[/color][/b]">
修改為\r

代碼: 選擇全部

 <td colspan="[b][color=red]10[/color][/b]">
共3處

存檔,搞定!!
jessie
星球公民
星球公民
文章: 149
註冊時間: 2004-03-05 19:49
來自: Fann.City
聯繫:

文章 jessie »

請問怎麼讓url之後的代碼掉到第二排?
●架設主機作業系統:WindowsXP
●快速架站程式:Appserv2.3.0
●上網方式:中華電信ADSL
●安裝的程式:Apache + php + MySql
●phpBB2 版本: 2.0.8a
安裝的外掛
圖檔
主題已鎖定

回到「phpBB 2 安裝與使用」