You are here: Re: <title> in the body (I know it's wrong) « HTML « IT news, forums, messages
Re: <title> in the body (I know it's wrong)

Posted by Paul Furman on 07/29/07 01:20

cwdjrxyz wrote:

> On Jul 28, 1:57 pm, Paul Furman <pa...@-edgehill.net> wrote:
>
>>I know it's wrong but it works: putting the <title> in the body of the
>>document inside another <head> because I'm generating this with php &
>>kind of boxed myself into not having access to the text I want till I
>>get well into the body, for example:
http://edgehill.net/gallery/photo-update/6-24-07/pg1pc1
>
> The W3C shows many validation errors,

Oh yeah, I'm sure. I haven't tried validating for quite a while, my bad,
though some of those are intentional errors like this one designed for a
specific effect.

> If you end your url with just pg1, pc1, or
> just a slash, you get 3 different pages, one being a photo of a bay
> area country view.

original:
http://edgehill.net/gallery/cameras/pg1pc3

These should all take you to the first pic on the page:
http://edgehill.net/gallery/cameras/pg1 (page#)
http://edgehill.net/gallery/cameras/
http://edgehill.net/gallery/cameras

This produces an error, it's not designed to work:
http://edgehill.net/gallery/cameras/pc3 (pic# with no page)
(I could fix it with some more php coding & save another 2 characters in
the url but oh well, if someone gets creative they can't be too
surprised to get an error)

This is a weird way to show the wrong page of thumbnails:
http://edgehill.net/gallery/cameras/pg2pc3
(the displayed pic is on the previous page) LOL



> The point is that all or some browsers may work for certain
> errors. However, with the next version upgrade, the browser may not
> work with some errors that it did before. Then the webmaster may have
> to hack a way around the problem or correct errors to get a certain
> browser to work again.

Thanks, good point, that's why I asked. In an ideal world I can fix this
as J.O. suggested by doing all my processing before writing the html in
php but it's a huge nighmare of include files & lotsa work to fix at
this point.

--
Paul Furman Photography
http://edgehill.net
Bay Natives Nursery
http://www.baynatives.com

 

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

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