You are here: Re: body tags in an include? « PHP Programming Language « IT news, forums, messages
Re: body tags in an include?

Posted by Jerry Stuckle on 04/02/06 05:30

Big Bill wrote:
> On Sat, 01 Apr 2006 08:45:38 -0500, Jerry Stuckle
> <jstucklex@attglobal.net> wrote:
>
>
>>>Perhaps I should have put "Multiple body tags in one page due to php
>>>includes using them, one pair per include". Is that any clearer?
>>>That's the problem the page has if you look at it, multiple instances
>>>of the body tag. I don't believe they should be there as obviously an
>>>include shouldn't need to be topped and tailed with a body tag if it's
>>>one of several includes in an existing page with its own body tags
>>>anyway.
>>>
>>>BB
>>
>>Bill,
>>
>>No, multiple <head> and <body> tags in a document are invalid.
>>
>>include() effectively just does a "copy and paste" of the new file into the
>>existing one. So if both files have <body> tags then you end up with two <body>
>>tags, as you found.
>>
>>And it's time to fire the idiots who places these tags in included files!
>
>
> Ah, little problem there, you see, it was he who suggested that I be
> hired for the optimisation...he has done some stuff in the past I've
> worked on that has had great visual appeal but he does need to be
> pulled up on a few things.
>
> BB


Hmmm, I understand - but that kind of recommendation I think I can do without!

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация