- Home
- Categorie
- Coding e Sistemistica
- PHP
- [PhpBB]Dimensione forum
-
[PhpBB]Dimensione forum
Salve a tutti
Come potete [url=http://www.juvefans.org/forum]vedere il mio forum è adattato ad una risoluzione 1024x768. Ciò che vorrei fare è portarlo ad una risoluzione ben visibile anche con l'800x600 (quindi con tabelle 760px): come posso fare? Avevo provato a fare alcune modifiche ma anche se la tabella con i forum si accentrava e rimpiccoliva, quella bianca di sfondo rimaneva invariata; inoltre la risoluzione diminuiva solo nell'index, perchè se ad esempio aprivo un topic ecco che questa si riallargava.
Ditemi voi cosa devo fare :bho:Grazie a anticipatamente
-
A- hai una immagine maggiore dei canonici 760 pixel di larghezza.
B- scusa, ma il tema che usi non usa il width "in percentuale" ovver oal 100%, in caso contrario passa al subsilver... non è originale ma è indubbiamente il migliore.C- Se proprio vuoi modificare prova ad agire nei file Overall_header.tpl e successivi... mi sembra index.tpl e controlla anche overall_footer.tpl.
-
B- scusa, ma il tema che usi non usa il width "in percentuale" ovver oal 100%, in caso contrario passa al subsilver... non è originale ma è indubbiamente il migliore.
Si, ma i miei utenti mi hanno detto che da loro problemi..
-
overall_header.tpl
<?xml version="1.0" encoding="{S_CONTENT_ENCODING}"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" 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_DESC}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/fisubgrey/{T_HEAD_STYLESHEET}" type="text/css" /><script type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>{GREETING_POPUP}
</head>
<body>
<a name="top" id="top"></a>
<table class="bodyline" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<table class="topbkg" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td>[url="{U_INDEX}"]</td>
<td align="center" width="100%"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td align="center" class="topnav">[url="{U_FAQ}"]{L_FAQ} • [url="{U_SEARCH}"]{L_SEARCH}
• [url="{U_MEMBERLIST}"]{L_MEMBERLIST} •
[url="{U_GROUP_CP}"]{L_USERGROUPS} •
[url="{U_STAFF}"]{L_STAFF}• [url="{U_REGISTER}"]{L_REGISTER}
• [url="{U_PROFILE}"]{L_PROFILE} • [url="{U_PRIVATEMSGS}"]{PRIVATE_MESSAGE_INFO} • [url="{U_SHOP}"]{SHOP} • [url="{U_LOGIN_LOGOUT}"]{L_LOGIN_LOGOUT} • <a href="{U_BANK}" class="mainmenu">{BANK}</td>
</tr>
</table><div align="center"><span class="genmed">Benvenuto {point.USERNAME}, hai : {point.POINTS} {point.NAME}</span>
<table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td>index_body.tpl
<style type="text/css">
<!--
.Stile2 {
font-family: Verdana;
font-size: 12px;
font-weight: bold;
}
-->
</style>
<table align="center" width="100%" cellspacing="2" cellpadding="2" border="0"><tr>
<td align="left" colspan="2" class="maintitle">{L_INDEX}</td>
</tr>
<tr align="left">
<td valign="bottom" class="gensmall">{LAST_VISIT_DATE}
{CURRENT_TIME}
</td>
</tr>
<tr>
<td align="center" valign="bottom" class="gensmall">
<table width="100%" align="center" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr align="center">
<th height="25" nowrap="nowrap" class="thCornerL" align="center">{L_FORUMS_SEARCH}</th>
</tr>
<tr>
<td class="topnav" align="center">{L_FORUMS_SEARCH_EXPLAIN}</td>
</tr>
<form action="{U_SEARCH}" method="post">
<tr align="center">
<td class="catHead" align="center">
<input type="text" name="search_keywords" value="{L_FORUMS_SEARCH}" onFocus="this.value=''" style="border-color: black;" size="50" width="500" align="center">
<input type="submit" name="submit" value="{L_SEARCH}" accesskey="s" alt="Submit" border="0"></td>
<input type="hidden" name="searchuser" value="">
<input type="hidden" name="search_forum" value="-1">
<input type="hidden" name="search_author" value="">
<input type="hidden" name="search_time" value="0">
<input type="hidden" name="search_cat" value="-1">
<input type="hidden" name="sort_by" value="0">
<input type="hidden" name="show_results" value="topics">
<input type="hidden" name="retrun_chars" value="-1">
</td>
</tr>
</form>
</table>
<tr>
<td valign="bottom" class="gensmall">
[url="{U_INDEX}"]{L_INDEX}</td>
</tr>
</td>
</tr>
</table><table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2">{L_FORUM}</th>
<th>{L_TOPICS}</th>
<th>{L_POSTS}</th>
<th>{L_LASTPOST}</th>
</tr><tr>
<td class="cat" colspan="2">[url="{catrow.U_VIEWCAT}"]{catrow.CAT_DESC}</td>
<td class="rowpic" colspan="3"></td>
</tr><tr>
<td class="row1" height="45"></td>
<td class="row1" width="100%">[url="{catrow.forumrow.U_VIEWFORUM}"]{catrow.forumrow.FORUM_NAME}<span class="genmed">{catrow.forumrow.FORUM_DESC}
</span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td class="row2" align="center"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row2" align="center"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row2" align="center" nowrap="nowrap"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr></table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat" colspan="2">[url="{U_VIEWONLINE}"]{L_WHO_IS_ONLINE}</td>
</tr>
<tr>
<td width="17%" rowspan="4" align="center" valign="middle" class="row1">{USER_AVATAR}
<span class="genmed">{USER_NAME}**</span><span class="gensmall">{USER_NEWPOSTS}</span></p>
<span class="gensmall">{L_ONLINE_EXPLAIN}</span></p></td>
<td class="row1" width="83%"><span class="gensmall">{TOTAL_POSTS}{TOTAL_USERS}
{NEWEST_USER}</span></td>
</tr><tr>
<td class="row1" align="left"><p class="gensmall">{TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]{RECORD_USERS}
{LOGGED_IN_USER_LIST}</p>
</td>
</tr><tr>
<td height="42" align="left" class="row1"><p class="gensmall">{L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}</p>
</td>
</tr>
<tr>
<td height="42" align="left" class="row1"><span class="gensmall">{L_USERS_TODAY}{L_USERS_LASTHOUR}{USERS_TODAY_LIST} </span></td>
</tr>
</table>
</br>
</br><form method="post" action="{S_LOGIN_ACTION}">
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat">{L_LOGIN_LOGOUT}</td>
</tr>
<tr>
<td class="row1" align="center">
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="gensmall">{L_USERNAME}:</td>
<td><input class="post" type="text" name="username" size="10" /></td>
<td class="gensmall">{L_PASSWORD}:</td>
<td><input class="post" type="password" name="password" size="10" maxlength="32" /></td>
<td class="gensmall">{L_AUTO_LOGIN}</td>
<td><input class="text" type="checkbox" name="autologin" /></td>
<td><input type="submit" class="mainoption" name="login" value="{L_LOGIN}" /></td>
</tr>
</table></td>
</tr>
</table>
</form><table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td height="61" class="nav"><span class="gensmall">[url="{U_INDEX}"]{L_INDEX}</span></p>
<table width="503" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="503" scope="col"><div align="center"></div></td>
</tr>
<tr>
<td scope="col"><div align="center"><span class="Stile2">Vota Juvefans.org in Pubbliforum! </span></div></td>
</tr>
</table></td>
</tr>
</table>
<table border="0" align="center" cellpadding="0" cellspacing="3">
<tr>
<td></td>
<td><table border="0" align="center" cellpadding="0" cellspacing="3">
<tr>
<td></td>
<td class="gensmall">{L_NEW_POSTS}</td>
<td></td>
<td></td>
<td class="gensmall">{L_NO_NEW_POSTS}</td>
<td></td>
<td></td>
<td class="gensmall">{L_FORUM_LOCKED}</td>
</tr>
</table>Mi potreste dire cosa devo modificare, per favore?