Gapingwound wrote:
[color=blue]
> I have one page that is not validating XHTML1 STRICT properly, but
> the validator at w3c is showing an error for something that is not in
> my page.
>
> Here's the error:
> 1.
>
> Line 72, column 160: document type does not allow element "input"
> here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div",
> "pre", "address", "fieldset", "ins", "del" start-tag
>
> ...="9a835cf0d601961e9d6a1b82897a4401" />
>
> However, line 72 looks like this:
> <p>I grabbed some nice large world images from NASA, and some
> geographic vector data from <a
> href="http://www.ngdc.noaa.gov/ngdc.html" title="National Geophysical
> Data Center">NGDC</a> in the form of .vct files and went to work
> picking the .vct files apart.</p>
>
>
> The string of characters changes every time you try to validate it,
> which leads me to believe it may have something to do with the php
> sessions I'm using, but it only does it on this page. This is the
> only page I'm using forms and javascript on, but I cannot figure out
> where it's getting that error.
>
> the problem page is http;//www.kgreene.com/world.php[/color]
Actually, I believe the validator refers to this line:
<form id="plotOptions" onsubmit="doMap(); return false;"
action="world.php"><input type="hidden" name="PHPSESSID"
value="12890046f30f20917e0675240252e7ae" />
I've found that surrounding the content within a <form> block with a
<div> (ie. <div> right after the <form> tag and </div> right before the
</form> closing tag) acts as a solution to this problem.
--
Kim André Akerĝ
-
kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)