Page 1 of 1

Strange problem

Posted: Tue May 10, 2011 8:39 pm
by djoniba
Hello all.

Here is a strange problem. I made a web site on my Mac (using MAMP). Uplopaded it to the server and everything was swell. Then got a technical problem and had to reinstall ther whole site. My problem is that I cannot get the design to look like before. I tried copying the template from my mac (where is works fine), but when I upload to the server, the content comes after the footer. It looks fine in code, but doesnt work as it should. I simply cannot fine the error. Any help would be greatly appreciated.

Website address: http://ernaringoghelse.no

Here is the code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<__html>
{literal}
<__script__ type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-22843993-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</__script>
{/literal}
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>{sitename} - {title}</title>
{metadata}
{stylesheet}

{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
{literal}
<__script__ type="text/JavaScript">
<!--
//pass min and max -measured against window width
function P7_MinMaxW(a,b){
var nw="auto",w=document.documentElement.clientWidth;
if(w>=b){nw=b+"px";}if(w<=a){nw=a+"px";}return nw;
}
//-->
</__script>
<!--[if lte IE 6]>
<style type="text/css">
#pagewrapper {width:expression(P7_MinMaxW(720,950));}
#container {height: 1%;}
</style>



<![endif]-->
{/literal}

</head>
</__body>
<div id="outer">

<div id="upbg"></div>

<div id="inner">

<div id="header"<a href="http://ernaringoghelse.no/"><IMG SRC="/uploads/TerraFirma/logogreen.jpg" width="200" height="78"" border=0></a></div>

<div id="splash">{Showtime show='2'}</div>


<div id="menu">
{menu template='minimal_menu.tpl' number_of_levels='1'}
</div>


<div id="primarycontent">

<!-- primary content start --> {content}

<!-- primary content end -->

</div>


<div id="footer">
Ernæring og Helse, Strandgaten 223, 5004 Bergen<br><strong><span style="color: #ff6600; font-size: small;">Webdesign: Asbjørn Sundal</span></strong></div>



</div>
</div>

<__body>
</__html>

Re: Strange problem

Posted: Thu May 12, 2011 4:02 pm
by Nullig
Looks fine to me - footer at the bottom.

Nullig

Re: Strange problem

Posted: Mon May 16, 2011 5:30 am
by djoniba
Thats the strange thing. Looks absolutely fine, but doesnt work. Worked fine last time I used it (before the crash)

Re: Strange problem

Posted: Fri Jun 10, 2011 9:52 am
by Mantlet
Hi,

Maybe you could post pictures of what it should look like and what it looks like when it's uploaded? Right now the site looks fine, but maybe I'm not seeing your problem.

Re: Strange problem

Posted: Fri Jun 10, 2011 10:15 am
by compufairy
To me it looks ok too. Here's a screenshot: http://screencast.com/t/U8N6PnQFSUYG (taken on a 24" screen).