?>
<meta http-equiv="Refresh" content="300" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache" />
<?php
$doPrintBNLWN = false;
include("BNLWN-mesomap.php");
print $BNLWN_CSS; ?>
</head>
<body>
<?php print $BNLWN_MAP; print $BNLWN_TABLE; ?>
<?php
After closer inspection of the page I see you have a center aligned layout far below all the info and date for the page. I am right in assuming that the problem is your content(the map and the date) is not inside your page?
If this is the case you need to modify the first template you posted.
You need to move line 49 to inside your main div(around line 61).
This is the line in question: -
<?php print $BNLWN_MAP; print $BNLWN_TABLE; ?>
-
This is the code with the line moved: -
<?php
-
############################################################################
-
# A Project of TNET Services, Inc. and Saratoga-Weather.org (WD-World template set)
-
############################################################################
-
#
-
# Project: Sample Included Website Design
-
# Module: sample.php
-
# Purpose: Sample Page
-
# Authors: Kevin W. Reed <kreed@tnet.com>
-
# TNET Services, Inc.
-
#
-
# Copyright: (c) 1992-2007 Copyright TNET Services, Inc.
-
############################################################################
-
# This program is free software; you can redistribute it and/or
-
# modify it under the terms of the GNU General Public License
-
# as published by the Free Software Foundation; either version 2
-
# of the License, or (at your option) any later version.
-
#
-
# This program is distributed in the hope that it will be useful,
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-
# GNU General Public License for more details.
-
#
-
# You should have received a copy of the GNU General Public License
-
# along with this program; if not, write to the Free Software
-
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
-
############################################################################
-
# This document uses Tab 4 Settings
-
############################################################################
-
require_once("Settings.php");
-
require_once("common.php");
-
############################################################################
-
$TITLE= $SITE['organ'] . " - Sample Blank Page";
-
$showGizmo = true; // set to false to exclude the gizmo
-
include("top.php");
-
############################################################################
-
-
?>
-
<meta http-equiv="Refresh" content="300" />
-
<meta http-equiv="Pragma" content="no-cache" />
-
<meta http-equiv="Cache-Control" content="no-cache" />
-
-
<?php
-
$doPrintBNLWN = false;
-
include("BNLWN-mesomap.php");
-
print $BNLWN_CSS; ?>
-
</head>
-
<body>
-
<?php
-
############################################################################
-
include("header.php");
-
############################################################################
-
include("menubar.php");
-
############################################################################
-
?>
-
<div id="main-copy">
-
-
<h1>Benelux Weather Network</h1>
-
-
<?php print $BNLWN_MAP; print $BNLWN_TABLE; ?>
-
</div><!-- end main-copy -->
-
<?php
-
############################################################################
-
include("footer.php");
-
############################################################################
-
# End of Page
-
############################################################################
-
?>
-
14 2433
Normally before the meta tags. However without seeing what is being included with top.php it's hard to be certain.
Hi,
Thanks for the answer, i have enclosed the "top" page, perhaps this enlightens you....
Marc,
If you added it as an attachment I cannot see it. Perhaps try uploading it again or copying and pasting the contents of top.php into CODE tags and reposting.
The head tag is being included in top.php. You shouldn't need to add it at all.
Check your footer.php file. It looks likes you have included an extra header in there as well as a body and doctype.
You've got me lost here! Can you take a look at it and give me a few pointers?
Thx in advance!!
Okay.
Your main template includes two other templates. One for the top of the page and one for the footer. In the footer there is a duplicate html, head, and body tag as well as a doctype.
Lines 34-42 in your footer.php are the duplicate lines.
Removing them should solve your issue. As always when making changes make sure you backup your original file.
Here's the snippet to look for. -
<!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">
-
<head>
-
<meta name="generator" content=
-
"HTML Tidy for Windows (vers 14 February 2006), see www.w3.org" />
-
<title></title>
-
</head>
-
<body>
-
Hello,
Found the snippet, removed it but to no avail, the snippet above was inserted as you can see by accident thanks to my validator....
Marc,
What do you mean by to no avail?
Removing the snippet from the footer has removed the duplicate head tag.
I am no longer certain what your question is or what issue you are trying to solve...
It didn't resolved the issue i am having with the page i am trying to fix...
Sorry,
After closer inspection of the page I see you have a center aligned layout far below all the info and date for the page. I am right in assuming that the problem is your content(the map and the date) is not inside your page?
If this is the case you need to modify the first template you posted.
You need to move line 49 to inside your main div(around line 61).
This is the line in question: -
<?php print $BNLWN_MAP; print $BNLWN_TABLE; ?>
-
This is the code with the line moved: -
<?php
-
############################################################################
-
# A Project of TNET Services, Inc. and Saratoga-Weather.org (WD-World template set)
-
############################################################################
-
#
-
# Project: Sample Included Website Design
-
# Module: sample.php
-
# Purpose: Sample Page
-
# Authors: Kevin W. Reed <kreed@tnet.com>
-
# TNET Services, Inc.
-
#
-
# Copyright: (c) 1992-2007 Copyright TNET Services, Inc.
-
############################################################################
-
# This program is free software; you can redistribute it and/or
-
# modify it under the terms of the GNU General Public License
-
# as published by the Free Software Foundation; either version 2
-
# of the License, or (at your option) any later version.
-
#
-
# This program is distributed in the hope that it will be useful,
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-
# GNU General Public License for more details.
-
#
-
# You should have received a copy of the GNU General Public License
-
# along with this program; if not, write to the Free Software
-
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
-
############################################################################
-
# This document uses Tab 4 Settings
-
############################################################################
-
require_once("Settings.php");
-
require_once("common.php");
-
############################################################################
-
$TITLE= $SITE['organ'] . " - Sample Blank Page";
-
$showGizmo = true; // set to false to exclude the gizmo
-
include("top.php");
-
############################################################################
-
-
?>
-
<meta http-equiv="Refresh" content="300" />
-
<meta http-equiv="Pragma" content="no-cache" />
-
<meta http-equiv="Cache-Control" content="no-cache" />
-
-
<?php
-
$doPrintBNLWN = false;
-
include("BNLWN-mesomap.php");
-
print $BNLWN_CSS; ?>
-
</head>
-
<body>
-
<?php
-
############################################################################
-
include("header.php");
-
############################################################################
-
include("menubar.php");
-
############################################################################
-
?>
-
<div id="main-copy">
-
-
<h1>Benelux Weather Network</h1>
-
-
<?php print $BNLWN_MAP; print $BNLWN_TABLE; ?>
-
</div><!-- end main-copy -->
-
<?php
-
############################################################################
-
include("footer.php");
-
############################################################################
-
# End of Page
-
############################################################################
-
?>
-
Yes!!
That finally did the trick! Thank you so much for helping me out with this! I still have a few pages who need some editing because they are not totally right, i would be very grateful if you would help me out with these too?
Marc,
PS, the good page is on http://www.akker.be/car/wxbenelux.php
Looks good.
If you have separate issues on other pages, you should start a different thread clearly outlining the issue and either myself or another user will help you out.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Andrés Giraldo |
last post by:
Hi!
It's possible to register some script between the <head> and </head>
actually I'm Using RegisterStartupScript and RegisterClientBlockScript,
but it works on the body
By the way... how...
|
by: ryan.mclean |
last post by:
Hello everyone. Hope ya'll had a nice New Year. Anyway, my question
is why won't this work? I must be doing something dumb . . . here is
the code:
in the body tag, I have this code (just to...
|
by: francescomoi |
last post by:
Hi.
I'm trying to insert some text between <head> and <body> but I'm
not able.
I try with:
--------
bodyPoint = document.getElementsByTagName('body');
var myLink =...
|
by: Frances |
last post by:
<html>
<head>
<script>
function doIt() {
var list = document.forms.product;
var selItem = list.options.value;
^^^^^^^
</head>
|
by: Brian W |
last post by:
Hi All,
I have a web user control that, among other things, provides Print this
page, and Email this page functionality I have this script that is to
execute on the click of the asp:hyperlinks
...
|
by: Ken Varn |
last post by:
I want to add my own custom <STYLE> section in the <HEAD> section of my
ASP.NET page within a custom control. Can someone tell me how I can have my
custom control add tags to the <HEAD> section of...
|
by: deko |
last post by:
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>Home Page</title>
<!-->
<style#navlist a { height: 1em; } </style>
<!-->
</head>
Is the statement above...
|
by: phpmel |
last post by:
Hi guys,
I have yet another question. I am working with this html form that uses a template.
<head> //is greyed out
//some greyed out <style >stuff is next
<!-- InstanceEndEditable...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |