Thanks Clyde,
I reloaded everything and the problem remained, so I removed zencart, reinstalled then uploaded comstock again but the probelm still remains.
Is there a preferred location to download the template from? Just thinking maybe I have an old version or something?
Thanks,
Damian
Just had a look using firefox and it is centered but still no heading image.
It looks like there may be a problem with IE8!
Ah, that's a forced ad by my host.
I'll see if I can find another host that doesn't force ads to test the theory!
I'll let you know how I get on.....![]()
Hi again Clyde,
I've saved my page offline and removed the banner code, but it still renders the page incorrectly.
I'm having a look at the html to see if I can find what's wrong.
When I view the page source this is what I'm seeing: The highlighted portion should not be where it is. it should be located within the <head> </head> section.
<div id='d9608aeeae7903134f236ba81615b609' align='center'
style='position:absolute; z-index:100; margin-top:2px; vertical-align:middle; width:100%; line-height:25px; background-color:#F0F0F0; border:none'>
<table width='100%' height='15' align="center" border='0' bgcolor='#F0F0F0' style="margin:0px; margin-top:0px">
<tr align="center" valign="top" style="margin:0px; margin-top:0px">
<td width='100%' height='15' align="center" valign="top" nowrap="nowrap" style="margin:0px; margin-top:0px">
<script type="text/javascript"><!--
google_ad_client = "pub-1060188634942535";
/* 728x15, Create 09-8-14 */
google_ad_slot = "7853530127";
google_ad_width = 728;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<a href="http://www.free-web-host.me/" target="_blank" style="margin:0px; margin-top:0px"><img style="margin:0px; margin-top:0px" src="http://www.free-web-host.me/FreeHosting.php" alt="Free Hosting" width="160" height="15" border="0" /></a>
</td></tr></table></div>
<script language="JavaScript" type="text/javascript">
var _571e4d938fce895f659315a68998b3f9 = ( document.compatMode.toLowerCase()=="css1compat" ) ? document.documentElement : document.body;
var _f5ea287e37175b40f6567eb0cf6878c7 = document.getElementById("d9608aeeae7903134f236ba81615b609").style;
function _d5f76104b737df719677726fe87a7525() {
_f5ea287e37175b40f6567eb0cf6878c7.top = ( _571e4d938fce895f659315a68998b3f9.scrollTop + _571e4d938fce895f659315a68998b3f9.clientHeight - 25 ) + "px";
_f5ea287e37175b40f6567eb0cf6878c7.left = "0px";
}
setInterval( '_d5f76104b737df719677726fe87a7525()' , 100 );
</script>
<!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="ltr" lang="en">
<head>
<title>Zen Cart!, The Art of E-commerce</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="ecommerce, open source, shop, online shopping " />
<meta name="description" content="Zen Cart! : - ecommerce, open source, shop, online shopping" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="author" content="Snow Republic, Comstock Template Design by Clyde Jones, http://mysticmountainnaturals.com/testsite/" />
<meta name="generator" content="shopping cart program by Zen Cart™, http://www.zen-cart.com eCommerce" />
<base href="http://snowrepublic.org.uk/shop/" />
<link rel="stylesheet" type="text/css" href="includes/templates/comstock/css/stylesheet.css" />
<link rel="stylesheet" type="text/css" href="includes/templates/comstock/css/stylesheet_betterCategoriesEzInfo.css" />
<link rel="stylesheet" type="text/css" href="includes/templates/comstock/css/stylesheet_css_buttons.css" />
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="includes/templates/comstock/css/ie_stylesheet.css" />
<![endif]-->
<link rel="stylesheet" type="text/css" media="print" href="includes/templates/comstock/css/print_stylesheet.css" />
</head>
<body id="indexHomeBody">
Just saved the code offline again and moved the <head> before the <div> as you stated and when trying it again it still renders left adjusted in IE8, however it does render correctly centered in Firefox so it looks like an IE8 problem. I'll see if I can make it work in IE8 and let you know, then it's just how to get the header_bg.jpg to show in both browsers......both jobs for tomorrow though......I need a drink
Thanks for your help so far Clyde and thanks again for the template![]()
The view source still shows up as I indicated in my previous post.
I've also attached a screenshot of the site: It is not rendering the css correctly. Unless the large text is intentional.
Attachment 6387
Last edited by clydejones; 31 Dec 2009 at 02:36 AM.
Sorry Clyde, when I moved the code I just tried it offline.
It's not to do with the template, it must be my installation of zen cart. As you mentioned, the text is too large and I've just changed back to the classic template and it also renders laft adjusted in IE8 and centered in Firefox.
I used Softaculous in my web host control panel to do the install for me.
I'll have to try a different host.
Thanks for all your help!!
Bookmarks