1 頁 (共 1 頁)

[問題]已解決-投票結果的圖示顯示問題

發表於 : 2007-02-22 14:02
sntc06
空間連結:http://www.ifastnet.com/
phpBB2 版本:2.0.22
連結網址:http://taya86334.ifastnet.com/tcfsh101/ ... c.php?t=32

目前是高一蔡鳥一隻,在上一個月架設了我們班的班網也更換了主題
但是在投票結果的顯示上有小問題,如圖:

圖檔

注意到投票百分比圖示的中間有小間隙,不知道怎麼解決
就算是拿原始佈景主題的樣板 (viewtopic_poll_result.tpl) 一樣會出現
以下是這部分的代碼:

代碼: 選擇全部

<tr> 
  <td class="row2" colspan="2"><br clear="all" />
	<table cellspacing="0" cellpadding="4" border="0" align="center">
	  <tr> 
		<td colspan="4" align="center"><span class="gen"><b>{POLL_QUESTION}</b></span></td>
	  </tr>
	  <tr> 
		<td align="center"> 
		  <table cellspacing="0" cellpadding="0" border="0">
			<!-- BEGIN poll_option -->
			<tr> 
			  <td><span class="gen">{poll_option.POLL_OPTION_CAPTION}</span></td>
			  <td> 
				<table cellspacing="0" cellpadding="0" border="0">
				  <tr> 
						<img src="templates/Conundrum/images/vote_lcap.gif" style="width: 4px; height: 12px;" alt="" />
						<img src="{poll_option.POLL_OPTION_IMG}" style="width: {poll_option.POLL_OPTION_IMG_WIDTH}px; height: 12px;" alt="{poll_option.POLL_OPTION_PERCENT}" />
						<img src="templates/Conundrum/images/vote_rcap.gif" style="width: 4px; height: 12px;" alt="" />
				  </tr>
				</table>
			  </td>
			  <td align="center"><b><span class="gen">&nbsp;{poll_option.POLL_OPTION_PERCENT}&nbsp;</span></b></td>
			  <td align="center"><span class="gen">[ {poll_option.POLL_OPTION_RESULT} ]</span></td>
			</tr>
			<!-- END poll_option -->
		  </table>
		</td>
	  </tr>
	  <tr> 
		<td colspan="4" align="center"><span class="gen"><b>{L_TOTAL_VOTES} : {TOTAL_VOTES}</b></span></td>
	  </tr>
	</table>
	<br clear="all" />
  </td>
</tr>
請各位先進不吝指導,謝謝!

發表於 : 2007-02-22 21:03
心靈捕手
建議您:
1. 貼出此風格 Conundrum 的下載連結
2. 以下的修改, 提供您參考:
#
#-----[ FIND ]-----
#

代碼: 選擇全部

              <tr> 
                  <img src="templates/Conundrum/images/vote_lcap.gif" style="width: 4px; height: 12px;" alt="" /> 
                  <img src="{poll_option.POLL_OPTION_IMG}" style="width: {poll_option.POLL_OPTION_IMG_WIDTH}px; height: 12px;" alt="{poll_option.POLL_OPTION_PERCENT}" /> 
                  <img src="templates/Conundrum/images/vote_rcap.gif" style="width: 4px; height: 12px;" alt="" /> 
              </tr>
#
#-----[ REPLACE WITH ]-----
#

代碼: 選擇全部

				  <tr> 
					<td><img src="templates/Conundru/images/vote_lcap.gif" alt="" height="12" /></td>
					<td><img src="{poll_option.POLL_OPTION_IMG}" width="{poll_option.POLL_OPTION_IMG_WIDTH}" height="12" alt="{poll_option.POLL_OPTION_PERCENT}" /></td>
					<td><img src="templates/Conundru/images/vote_rcap.gif" alt="" height="12" /></td>
				  </tr>
ps.
移動到 '風格討論' 版面.

[問題]已解決-投票結果的圖示顯示問題

發表於 : 2007-02-23 21:15
sntc06
感謝大大!

已經解決顯示錯誤的問題
除了大大所指証的地方之外,問題是出在

代碼: 選擇全部

<td style="padding: 0>
這裡

我去參考原作者的說明才發現

Re: [問題]已解決-投票結果的圖示顯示問題

發表於 : 2007-02-23 22:28
心靈捕手
sntc06 寫:感謝大大!

已經解決顯示錯誤的問題
除了大大所指証的地方之外,問題是出在

代碼: 選擇全部

<td style="padding: 0>
這裡

我去參考原作者的說明才發現
恭喜您解決了問題! :-D

建議您:
加入 '正體中文語系由phpbb-tw維護製作' 聲明
參考連結:
http://phpbb-tw.net/phpbb/viewtopic.php?t=25752