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

phpBB 2 Style Support
討論的範圍包含版面排列、樣式、配置;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

主題已鎖定
sntc06
星球普通子民
星球普通子民
文章: 2
註冊時間: 2007-02-22 13:43
來自: 台中
聯繫:

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

文章 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>
請各位先進不吝指導,謝謝!
最後由 sntc06 於 2007-02-23 21:15 編輯,總共編輯了 1 次。
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8540
註冊時間: 2004-04-30 01:54
來自: Taiwan

文章 心靈捕手 »

建議您:
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.
移動到 '風格討論' 版面.
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
sntc06
星球普通子民
星球普通子民
文章: 2
註冊時間: 2007-02-22 13:43
來自: 台中
聯繫:

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

文章 sntc06 »

感謝大大!

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

代碼: 選擇全部

<td style="padding: 0>
這裡

我去參考原作者的說明才發現
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8540
註冊時間: 2004-04-30 01:54
來自: Taiwan

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

文章 心靈捕手 »

sntc06 寫:感謝大大!

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

代碼: 選擇全部

<td style="padding: 0>
這裡

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

建議您:
加入 '正體中文語系由phpbb-tw維護製作' 聲明
參考連結:
http://phpbb-tw.net/phpbb/viewtopic.php?t=25752
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
主題已鎖定

回到「風格問題討論」