Dear Admin
"I have already read all the post regarding the footer"
I have a problem placing the footer and fix the size to 100%,
I placed the footer in html in the template.html, when
i refresh the page sometimes is ok, but when i enter the category
it wraps and it remains wrapped if i click other pages
and then it fix by itself returning 100%.
my gallery is here:
http://www.supermotard.com/gallery/index.phpthis is the code of template.html:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{LANG_DIR}">
<head>
<title>{TITLE}</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Pragma" content="no-cache" />
<style type="text/css">
<!--
.menuupGrigio {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
font-style: normal;
font-weight: bold;
text-decoration: none;
color: #CCCCCC;
}
.menuupGrigio:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
font-style: normal;
font-weight: bold;
text-decoration: none;
color: #FB9B05;
}
-->
</style>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
{META}
<link rel="stylesheet" href="themes/mac_ox_x/style.css" />
<script type="text/javascript" src="scripts.js"></script>
<!--
$Id: template.html,v 1.5 2004/03/21 22:21:14 gaugau Exp $
-->
</head>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_showHideLayers() { //v6.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
</script>
<body>
<div id="Menu1" style="position:absolute; width:800px; height:30px; z-index:1; left: 25px; top: 269px; visibility: hidden;">
<span class="topmenu">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
{MAIN_MENU1}
{LANGUAGE_SELECT_FLAGS}
{LANGUAGE_SELECT_LIST}
</td>
</tr>
</table>
</span>
</div>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="top_panel">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#405D84">
<td width="215"><img src="../images/logo.gif" width="215" height="60"></td>
<td width="545" align="right" nowrap> <table width="476" border="0" cellspacing="0" cellpadding="1" class="menuup">
<tr valign="bottom">
<td class="menuup" valign="middle" nowrap height="30" align="right"> <img src="../images/freccia_arancio.gif" width="16" height="16" align="absmiddle">
<span class="menuupGrigio"><a href="../pages/meteo.htm" class="menuupGrigio">Meteo </a> <img src="../images/puntini_blu.gif" width="2" height="18" align="absmiddle"> <a href="../pages/convenzionati.htm" class="menuupGrigio">Convenzionati</a> <img src="../images/puntini_blu.gif" width="2" height="18" align="absmiddle"> <a href="../pages/assistenza.htm" class="menuupGrigio">Assistenza</a>
<img src="../images/puntini_blu.gif" width="2" height="18" align="absmiddle"> <a href="../pages/sicurezza.htm" class="menuupGrigio">Sicurezza</a> <img src="../images/puntini_blu.gif" width="2" height="18" align="absmiddle"> <a href="../pages/contatti.htm" class="menuupGrigio">Contatti</a> <img src="../images/puntini_blu.gif" width="2" height="18" align="absmiddle"> <a href="javascript:addbookmark();" class="menuupGrigio"><font color="#FB9B05">Aggiungi
ai preferiti</font></a></span></td>
</tr>
</table>
<font
face=Verdana size=-1><b>
<script language="">
function addbookmark(){if (document.all){window.external.AddFavorite("http://www.supermotard.com/","SUPERMOTARD.COM - SUPERGALLERY MOTO - Vendita Abbigliamento")}
}
</script>
</b></font></td>
<td align="right"> </td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="../images/home/sfonfo_moto_menu.gif">
<tr>
<td background="../images/home/sfonfo_moto_menu.gif"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="700" height="64">
<param name="movie" value="../moto_menu.swf">
<param name="quality" value="high">
<embed src="../moto_menu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="700" height="64"></embed></object></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#405D84" height="17"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="760" height="45">
<param name="movie" value="../monitor.swf">
<param name="quality" value="high">
<embed src="../monitor.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="760" height="45"></embed></object>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#405D84" height="17"> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="../images/grigio.gif" height="17"> </td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="23" align="center" background="themes/mac_ox_x/images/top_panel_r2_c1b.gif">
<!-- <td><img name="top_panel_r2_c1" src="themes/mac_ox_x/images/top_panel_r2_c1.gif" width="30" height="35" border="0" id="top_panel_r2_c1" alt="" /></td> -->
<td align="left" background="themes/mac_ox_x/images/top_panel_r2_c1b.gif"> <table cellpadding="0" cellspacing="0" border="0" class="top_menu_bttn">
<tr> {MAIN_MENU2} </tr>
</table>
</td>
<!-- <td width="100%" background="themes/mac_ox_x/images/top_panel_r2_c1b.gif"> </td> -->
</tr>
</table></td>
</tr>
</table>
<div align="left">
<table width="760" border="0" cellspacing="0" cellpadding="15">
<tr>
<td align="left">{ADMIN_MENU} {GALLERY} </td>
</tr>
</table>
</div>
<div align="left">
<table width="760" border="0" cellspacing="0" cellpadding="15">
<tr>
<td align="left">{THEME_SELECT_LIST}</td>
</tr>
</table>
<p> </p></div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="50">
<tr bgcolor="#405D84">
<td height="10" colspan="2" valign="top" nowrap><img src="../images/pixel_trans.gif" width="1" height="1"></td>
</tr>
<tr bgcolor="#405D84">
<td width="122" height="2" align="center" valign="middle" bgcolor="#405D84"><img src="../images/guarantee-ssl-5.gif" width="113" height="104"></td>
<td width="1005" height="2" valign="middle" bgcolor="#405D84" class="testopiccolo"><span class="testopiccolo"><font color="#FFFFFF"><img src="../images/home/bottom_scritte.gif" alt="www.supermotard.com" width="368" height="47" border="0" usemap="#Map8"></font></span></td>
</tr>
<tr bgcolor="#405D84">
<td height="5" colspan="2" valign="middle" nowrap> <img src="../images/pixel_trans.gif" width="1" height="1"></td>
</tr>
</table>
</body>
</html>
this is the code of the pagefooter function in theme.php
the footer.php is an empty file:
// Function for writing a pagefooter
function pagefooter()
{
global $HTTP_GET_VARS, $HTTP_POST_VARS, $HTTP_SERVER_VARS;
global $USER, $ALBUM_SET, $CONFIG, $time_start, $query_stats;
global $template_footer;
if(empty($custom_footer)){
include('footer.php');
}
echo $template_footer;
}
i hope you will save from destroying the monitor with my head
thank you so much for your human understanding