Strange problem

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
djoniba
New Member
New Member
Posts: 3
Joined: Thu Mar 31, 2011 9:12 am

Strange problem

Post 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>
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Strange problem

Post by Nullig »

Looks fine to me - footer at the bottom.

Nullig
djoniba
New Member
New Member
Posts: 3
Joined: Thu Mar 31, 2011 9:12 am

Re: Strange problem

Post by djoniba »

Thats the strange thing. Looks absolutely fine, but doesnt work. Worked fine last time I used it (before the crash)
Mantlet
Forum Members
Forum Members
Posts: 114
Joined: Fri Apr 28, 2006 9:42 am

Re: Strange problem

Post 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.
compufairy
Forum Members
Forum Members
Posts: 183
Joined: Sun Sep 07, 2008 10:47 am

Re: Strange problem

Post by compufairy »

To me it looks ok too. Here's a screenshot: http://screencast.com/t/U8N6PnQFSUYG (taken on a 24" screen).
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur..." (Red Adair)
Post Reply

Return to “Layout and Design (CSS & HTML)”