473,800 Members | 3,056 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Multiple instances of body tags in a page due to the includes each having a set.

http://www.promcars.co.uk/pages/rebecca.php

this is not the way it's supposed to be, is it... ok then for me just
to remove the body tags from the include files, it'll all work ok? I
don't know php and I'm working with a webmaster who, I suspect,
doesn't know it too well either.

BB
--

http://www.kruse.co.uk/seo-articles.htm
http://www.here-be-posters.co.uk/mot...rs-sitemap.htm
http://www.crystal-liaison.com/crystal-world/index.html

Apr 1 '06 #1
5 2086
Big Bill wrote:
http://www.promcars.co.uk/pages/rebecca.php

this is not the way it's supposed to be, is it... ok then for me just
to remove the body tags from the include files, it'll all work ok? I
don't know php and I'm working with a webmaster who, I suspect,
doesn't know it too well either.


Yep, something like:

<body>
<?php include 'content.php' ?>
</body>
JW
Apr 1 '06 #2
On Sat, 1 Apr 2006 13:48:58 +0200, "Janwillem Borleffs"
<jw@jwscripts.c om> wrote:
Big Bill wrote:
http://www.promcars.co.uk/pages/rebecca.php

this is not the way it's supposed to be, is it... ok then for me just
to remove the body tags from the include files, it'll all work ok? I
don't know php and I'm working with a webmaster who, I suspect,
doesn't know it too well either.


Yep, something like:

<body>
<?php include 'content.php' ?>
</body>
JW


So if I'm reading this right, what gets included is the file called
content.php and that doesn't have to begin and end with body tags. I
suspect this explains why the webmaster doesn't ever attempt to
externalise javascripts or style sheets, or add to the externalised
files I already made when he works on a site after me, he just doesn't
know how.

BB

--

http://www.kruse.co.uk/seo-articles.htm
http://www.here-be-posters.co.uk/mot...rs-sitemap.htm
http://www.crystal-liaison.com/crystal-world/index.html

Apr 1 '06 #3
Big Bill wrote:
http://www.promcars.co.uk/pages/rebecca.php

this is not the way it's supposed to be, is it... ok then for me just
to remove the body tags from the include files, it'll all work ok? I
don't know php and I'm working with a webmaster who, I suspect,
doesn't know it too well either.

BB


Several have already answered this question when you asked it previously.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Apr 1 '06 #4
On Sat, 01 Apr 2006 09:10:28 -0500, Jerry Stuckle
<js*******@attg lobal.net> wrote:
Big Bill wrote:
http://www.promcars.co.uk/pages/rebecca.php

this is not the way it's supposed to be, is it... ok then for me just
to remove the body tags from the include files, it'll all work ok? I
don't know php and I'm working with a webmaster who, I suspect,
doesn't know it too well either.

BB


Several have already answered this question when you asked it previously.


I was checking I had it right. This isn't my stuff it's for, it's for
a client.

BB
--

http://www.kruse.co.uk/seo-articles.htm
http://www.here-be-posters.co.uk/mot...rs-sitemap.htm
http://www.crystal-liaison.com/crystal-world/index.html

Apr 1 '06 #5
Big Bill wrote:
On Sat, 01 Apr 2006 09:10:28 -0500, Jerry Stuckle
<js*******@attg lobal.net> wrote:

Big Bill wrote:
http://www.promcars.co.uk/pages/rebecca.php

this is not the way it's supposed to be, is it... ok then for me just
to remove the body tags from the include files, it'll all work ok? I
don't know php and I'm working with a webmaster who, I suspect,
doesn't know it too well either.

BB


Several have already answered this question when you asked it previously.

I was checking I had it right. This isn't my stuff it's for, it's for
a client.

BB


So, you expect to ask the same question and get different answers?

If you do, you're either asking the wrong question, or asking the right question
in the wrong place!
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Apr 2 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
4978
by: Ohaya | last post by:
Hi, I'm trying to understand a situation where ASP seems to be "blocking" of "queuing" requests. This is on a Win2K Advanced Server, with IIS5. I've seen some posts (e.g., http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=Tidy7IDbDHA.2108%40cpmsftngxa06.phx.gbl) that indicate that ASP will queue up requests when they come in with the same "session".
10
1988
by: Harlan Messinger | last post by:
Different pages on a web site can vary in the level of header to which they descend. One short page may have only <h1>, or <h1> and <h2>. Another, detailed page, might get all the way down to <h6>. Maybe the site's page also display common sidebars with their own hierarchies, such as "In the News" block divided into two or three sections ("Nation", "World", "Metro") of two or three short clips each, each ending with a link to the full...
12
15084
by: qwe | last post by:
More curiosity than a real problem, but... I've been abusing HTML ID attributes slightly. ..box { margin: 10px; } #red { background-color: #ff0000;
12
2998
by: tshad | last post by:
I am not sure why I am getting this error: I have the following code I want to run from another include file that holds all my functions. functions.inc ************************************************************************************ <Script runat="Server"> Sub fnHeader(client As String) response.write("<!-- #include file = ../includes/staffingHeaders.inc -->")
3
3049
by: Pint | last post by:
I have a simple web user control. I'd like for this form to appear twice on a single aspx page. How do I get around the problem of having more than one <form runat=server> tag? More background: the user control is a login box. For design reasons I want the box to be available in the header as well as the bottom of the page. Thanks, Pint
3
2797
by: Bart Van der Donck | last post by:
Hello, I'm having a hard time trying to configure printed output that consists of multiple pages. The idea is the following: <div style=" border: 1px solid blue; position: absolute; top: 20px; left: 20px;
3
3929
by: nigelesquire | last post by:
Please help! I'm trying to clone and delete multiple rows with JavaScript. I need two delete buttons that work...! I only have one for now, but it's not working properly, the output count is messing up. Problems:
3
7244
by: anu b | last post by:
Hii I am using System.net.mail for sending email... i need to send a webpage with its html content as my email body .....for that i used mail.Isbodyhtml as true...but it is not working for me so pls help me....
4
2411
by: henry | last post by:
Folks: As a follow-up to my recent posts, I want to ask some more general questions about multiple instances of a CSS link in a page as seen by browsers due to server-side file inclusion. Let me set up my question by providing skeleton code for two files: Here's a skeleton of "index.php": <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
0
9550
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10248
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10032
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7573
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5469
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5597
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2942
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.