I would like to center the show.
I'm using the Rustic template now and changed 95% width to 800px width.
But it stays on the left
Where do I have to search??
http://res3.digitalus.nl/~admin37/index.php
As far as I can tell after looking at your site, it seems that you have closed the <body> and <html> immediately after the flash header.
You can see this from the view source snipit below:
<body bgcolor="#cc3300">
<!--URL's die in de film worden gebruikt-->
<!--tekst die in de film wordt gebruikt-->
<!--
handcrafted in the
handcrafted in the
-->
<script language="JavaScript" type="text/javascript">
<!--
if (AC_FL_RunContent == 0 || DetectFlashVer == 0) {
alert("Deze pagina vereist AC_RunActiveContent.js.");
} else {
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) { // wanneer we een acceptabele versie hebben gedetecteerd
// sluit de Flash-film in
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0',
'width', '800',
'height', '150',
'src', 'includes/templates/rustic/common/logo',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'transparent',
'devicefont', 'false',
'id', 'logo',
'bgcolor', '#cc3300',
'name', 'logo',
'menu', 'false',
'allowScriptAccess','sameDomain',
'allowFullScreen','false',
'movie', 'includes/templates/rustic/common/logo',
'salign', ''
); //end AC code
} else { // versie van Flash is te laag of kan de insteekmodule niet vinden
var alternateContent = 'Plaats hier alternatieve HTML-inhoud. '
+ 'Voor deze inhoud is Adobe Flash Player vereist. '
+ '<a href=http://www.macromedia.com/go/getflash/>Flash downloaden</a>';
document.write(alternateContent); // Niet-Flash-inhoud invoegen
}
}
// -->
</script>
<noscript>
// Bied alternatieve inhoud voor browsers die scripts niet ondersteunen
// of waarvoor het gebruik van scripts is uitgeschakeld.
Plaats hier alternatieve HTML-inhoud. Voor deze inhoud is Adobe Flash Player vereist.
<a href="http://www.macromedia.com/go/getflash/">Flash downloaden</a>
</noscript>
</body>
</html>
This may be part of the problem.
There are also double HEAD & BODY tags.
</head>
<body id="indexHomeBody">
<div id="mainWrapper" align="center">
........
</script>
</head>
<body bgcolor="#cc3300">
<!--URL's die in de film worden gebruikt-->
I removed the double <body> and <head> tags.
It still does not want to center.
![]()
You still need to remove the highlighted portion in the flash header<body bgcolor="#cc3300"> See the snipit below:
<script language="javascript"> AC_FL_RunContent = 0; </script>
<script language="javascript"> DetectFlashVer = 0; </script>
<script src="includes/templates/rustic/common/AC_RunActiveContent.js" language="javascript"></script>
<script language="JavaScript" type="text/javascript">
<!--
// -----------------------------------------------------------------------------
// Algemene eigenschappen
// Primair versienummer van Flash is vereist.
var requiredMajorVersion = 6;
// Secundair versienummer van Flash is vereist.
var requiredMinorVersion = 0;
// Revisie van Flash is vereist.
var requiredRevision = 79;
// -----------------------------------------------------------------------------
// -->
</script>
<body bgcolor="#cc3300">
<!--URL's die in de film worden gebruikt-->
<!--tekst die in de film wordt gebruikt-->
<!--
Remove the highlighted portion of the following declaration in your stylesheet.css
body {
margin: 0;
padding: 0;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 62.5%;
color: #000;
width: 800px;
background: url(../images/bg.gif) repeat-x 0 0 #660000; /* #E7D4B6 */
}
Also need to remove this:
<td class="productListing-data"><h3 class="itemTitle"><a href="http://res3.digitalus.nl/~admin37//index.php?main_page=product_info&cPath=0&products_id=1">Kunstwerk 1</a></h3><div class="listingDescription"></td>
Not to conflict with what Clyde suggested, but I would suggest the following:
body {
margin: 0 auto;
padding: 0;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 62.5%;
color: #000;
background: url(../images/bg.gif) repeat-x 0 0 #660000; /* #E7D4B6 */
}
The removal of the bgcolor has no inpact at all.
The width removal or adjustment gives the shop 100% width.
The head is centered.
Curent code (CSS):
You can see the curent output online now.Code:body { margin: 0; padding: 0; font-family: verdana, arial, helvetica, sans-serif; font-size: 62.5%; color: #000; width: 900px; background: url(../images/bg.gif) repeat-x 0 0 #660000; /* #E7D4B6 */ } /* Rustic Template Layout*/ /*BOF Main Wrapper - Wraps the contents of the layout*/ #mainWrapper { margin: 0 auto; padding: 0; text-align: left; width: 800px; vertical-align: middle }
Hi again Clyde,
I am trying to change the title, keywords and description in the meta tags for the general pages (index, etc.). I know how to do it for the product pages. From reading other posts, there seems to be a meta_tags.php file but can't find it. Please let me know where it is or if I need to copy a file from somewhere else.
Thanks!