View Single Post
Old October 7th, 2007, 08:19 PM   #4 (permalink)
oldengine
Member
Verified Customer
 
Join Date: Oct 2004
Location: Florida
Posts: 318
showcat.php

This line needs help and I'm into it deeper than I should be, But W3C goes into alarm mode on it.

Line 310, Column 100: document type does not allow element "form" here; missing one of "object", "applet", "map", "iframe", "ins", "del" start-tag.
/classifieds/showcat.php">
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

HTML the way it is...

# <td class="tddetails" align="center">
# <font class="small"><form method="post" action="http://www.website.com/classifieds/showcat.php">
# <span style="font-size: 7pt;">Enter Your Zip Code</span><br />
# <input type="hidden" size="5" name="cat" value="2" />
# <input class="font-size: 7pt;" type="text" size="5" maxlength="5" name="myzipcode" />
# <input type="image" align="bottom" src="http://www.website.com/classifieds/images/go.gif" /></form></font>
# </td>

HTML the way it should be...

<td class="tddetails" align="center">
<form class="small" method="post" action="http://www.website.com/classifieds/showcat.php">
<span class="c6">Enter Your Zip Code</span><br />
<input type="hidden" size="5" name="cat" value="2" />
<input class="font-size: 7pt;" type="text" size="5" maxlength="5" name="myzipcode" />
<input type="image" align="bottom" src="http://www.website.com/classifieds/images/go.gif" /></form>
</td>


showcat.php code section...
Code:
Content visible to verified customers only.
Template:
Code:
Content visible to verified customers only.

Last edited by oldengine; October 7th, 2007 at 09:15 PM.
oldengine is offline   Reply With Quote