[問題]版面寬度

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

版主: 版主管理群

主題已鎖定
Moopz
星球普通子民
星球普通子民
文章: 22
註冊時間: 2004-10-22 02:21

[問題]版面寬度

文章 Moopz »

●架設主機作業系統:Windows xp pro
●您的上網方式:ADSL
●您安裝的程式:Apache + php + MySql
●您的 phpBB2 版本:phpBB 2.0.11

點此看錯誤版面

請問我這是哪出了問題? 要怎麼改?
Mac
百戰天龍馬蓋先
百戰天龍馬蓋先
文章: 2590
註冊時間: 2003-02-02 02:28
來自: MacphpBBMOD
聯繫:

文章 Mac »

你改了什麼?

~Mac
+ 關於 phpBB 使用問題請在版面發問,私人訊息提供其他不相干或是隱私的事情聯絡之用。

phpBB 官網 | 竹貓星球 | MacphpBBMOD | 我的服務
吉川拓也
竹貓忠實會員
竹貓忠實會員
文章: 1215
註冊時間: 2003-02-09 18:24
來自: [ G.I.T ]
聯繫:

文章 吉川拓也 »

開啟 overall_header.tpl 把寬度改回來就可以了 !
善用 搜尋 可以解決您 90% 的問題
頭腦清晰,選擇正確。 (╯▔︹▔)╯~╘═╛
Moopz
星球普通子民
星球普通子民
文章: 22
註冊時間: 2004-10-22 02:21

文章 Moopz »

Mac 寫:你改了什麼?

~Mac
我就改了overall_header.tpl
這是他原本的overall_header.tpl

代碼: 選擇全部

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}"  />
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0.5)">
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0.5)">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/bbnewhero/{T_HEAD_STYLESHEET}" type="text/css">
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
	if ( {PRIVATE_MESSAGE_NEW_FLAG} )
	{
		window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=180,resizable=yes,WIDTH=380');;
	}
//-->
</script>
<!-- END switch_enable_pm_popup -->
</head>
<body bgcolor="000000" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" />
<a name="top"></a>
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="180" height="90%" valign="top" nowrap="nowrap">
	<!-- STAR SUB MANU --->
	<table width="100%" cellspacing="0" cellpadding="0" border="0">
	<tr>
	<td><a href="{U_INDEX}"><img src="templates/bbnewhero/images/logo.jpg" border="0" alt="{L_INDEX}" ></a></td>
	</tr>

	<tr> 
	<td valign="top" height="33" background="templates/bbnewhero/images/menu_top.jpg">
		<table width="158" cellspacing="0" cellpadding="1" border="0" align="center">
		<tr>
		<td valign="top" class="genmed">
		<a href="{U_LOGIN_LOGOUT}" class="genmed">{L_LOGIN_LOGOUT}</a></td>
		</tr>
		</table>
	</td>
	</tr>

	<tr> 
	<td valign="top" background="templates/bbnewhero/images/menu_bg.jpg">
		<table width="155" cellspacing="0" cellpadding="1" border="0" align="center">
		<tr>
		<td valign="top"><a href="{U_PRIVATEMSGS}" class="mainmenu">{PRIVATE_MESSAGE_INFO}</a></td>
		</tr>

		<tr>
		<td align="center"><img src="templates/bbnewhero/images/menu_line.gif" /></td>
		</tr>

		<tr>
		<td valign="top"><a href="{U_PROFILE}" class="mainmenu"><img src="templates/bbnewhero/images/icon_mini_profile.gif" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a></td>
		</tr>

		<tr>
		<td align="center"><img src="templates/bbnewhero/images/menu_line.gif" /></td>
		</tr>

		<tr>
		<td valign="top"><a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/bbnewhero/images/icon_mini_members.gif" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a></td>
		</tr>

		<tr>
		<td align="center"><img src="templates/bbnewhero/images/menu_line.gif" /></td>
		</tr>

		<tr>
		<td valign="top"><a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/bbnewhero/images/icon_mini_groups.gif" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a></td>
		</tr>

		<tr>
		<td align="center"><img src="templates/bbnewhero/images/menu_line.gif" /></td>
		</tr>

		<tr>
		<td valign="top"><a href="{U_FAQ}" class="mainmenu"><img src="templates/bbnewhero/images/icon_mini_faq.gif" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a></td>
		</tr>

		<tr>
		<td align="center"><img src="templates/bbnewhero/images/menu_line.gif" /></td>
		</tr>

		<tr>
		<td valign="top"><a href="{U_SEARCH}" class="mainmenu"><img src="templates/bbnewhero/images/icon_mini_search.gif" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a></td>
		</tr>

		<tr>
		<td align="center"><img src="templates/bbnewhero/images/menu_line.gif" /></td>
		</tr>

		<!-- BEGIN switch_user_logged_out -->
		<tr>
		<td valign="top"><a href="{U_REGISTER}" class="mainmenu"><img src="templates/bbnewhero/images/icon_mini_register.gif" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></td>
		</tr>

		<tr>
		<td align="center"><img src="templates/bbnewhero/images/menu_line.gif" /></td>
		</tr>
		<!-- END switch_user_logged_out -->

		<tr>
		<td valign="top" class="gensmall"><br />
		<!-- BEGIN switch_user_logged_in -->
		<a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br />
		<a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
		<!-- END switch_user_logged_in -->
		<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a><br /><br />
		</td>
		</tr>
		</table>

	</td>
	</tr>
	</table>
<img src="templates/bbnewhero/images/menu_below.jpg">
</td>


<td width="100%" valign="top" nowrap>
	<table width="100%" cellspacing="0" cellpadding="0" border="0">
	<tr>
	<td align="center" height="80" background="templates/bbnewhero/images/bg_top.jpg"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<br />  </span></td>
	</tr>
	</table>

	<table width="100%" cellspacing="0" cellpadding="0" border="0" align="CENTER">
	<tr>
	<td width="20" nowrap> <td>
	<td width="100%" nowrap>
我把他那左邊的功能表部份都刪除了,換上了subblack的header。
吉川拓也 寫:開啟 overall_header.tpl 把寬度改回來就可以了 !
overall_header.tpl裡width都是100%了,我不知道要怎麼改 :cry:
Mac
百戰天龍馬蓋先
百戰天龍馬蓋先
文章: 2590
註冊時間: 2003-02-02 02:28
來自: MacphpBBMOD
聯繫:

文章 Mac »

應該只要改這裡面的 table width="100%"

代碼: 選擇全部

<body bgcolor="000000" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" /> 
<a name="top"></a> 
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
~Mac
+ 關於 phpBB 使用問題請在版面發問,私人訊息提供其他不相干或是隱私的事情聯絡之用。

phpBB 官網 | 竹貓星球 | MacphpBBMOD | 我的服務
Moopz
星球普通子民
星球普通子民
文章: 22
註冊時間: 2004-10-22 02:21

文章 Moopz »

Mac 寫:應該只要改這裡面的 table width="100%"

代碼: 選擇全部

<body bgcolor="000000" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" /> 
<a name="top"></a> 
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
~Mac
他本來不就已經是100%了嗎? 我要怎麼改?
神川小羽
調皮の小羽
調皮の小羽
文章: 1461
註冊時間: 2004-05-01 05:55
來自: 謎樣之筱語
聯繫:

文章 神川小羽 »

我想 你把以下的3個檔案打包起來 放到網路空間 讓這裡的大大下載來看你的風格\r
可能會比較容易得到協助\r
overall_header.tpl
index_body.tpl
overall_footer.tpl
-.-
Moopz
星球普通子民
星球普通子民
文章: 22
註冊時間: 2004-10-22 02:21

文章 Moopz »

神川小羽 寫:我想 你把以下的3個檔案打包起來 放到網路空間 讓這裡的大大下載來看你的風格\r
可能會比較容易得到協助\r
overall_header.tpl
index_body.tpl
overall_footer.tpl
你們要原裝那個風格的那3個檔案?
還是我改了以後的, 還是兩種都要?

因為我現在人在外地, 只是撥號上網, 不太方便, 可能要讓大家久等了.
神川小羽
調皮の小羽
調皮の小羽
文章: 1461
註冊時間: 2004-05-01 05:55
來自: 謎樣之筱語
聯繫:

文章 神川小羽 »

改過以後的嚕@@"
-.-
主題已鎖定

回到「風格問題討論」