1 頁 (共 1 頁)

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

發表於 : 2003-11-30 17:56
sh85216s
如圖
圖檔
請問要如何才能將紅色的php按鈕縮回藍色線內,它太突出了!

發表於 : 2003-11-30 19:52
StickyKid
改一下posting_body.tpl

table的部分

發表於 : 2003-12-01 11:59
StickyKid 寫:改一下posting_body.tpl

table的部分
沒錯!我之前也是在找!...找超久才發現\r
有個Table竟然有設width=xxx...= =||
有點無言的感覺...其他都設100%...偏偏這個指定寬度

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

\n似乎在"URL"後面加入"PHP"之後,便無法和"關閉標籤"對齊了??

發表於 : 2003-12-01 22:02
sh85216s
不知是否可以調整第一行的bbcode代碼的間距,來解決這個問題呢?
如果可以,不知道要改哪裡?

發表於 : 2003-12-01 22:11
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處

存檔,搞定!!

發表於 : 2004-04-01 16:40
jessie
請問怎麼讓url之後的代碼掉到第二排?