weird w3 error
I'm getting a very weird "form" problem when I run the w3 validator on my site. Here's the link:
http://validator.w3.org/check?uri=ww...tomatically%29 This is what it says: Line 109, column 4: end tag for "FORM" omitted, but its declaration does not permit this </TD> ✉ Line 107, column 0: start tag was here <FORM METHOD="POST" style="margin-bottom: 0; display: inline;" ACTION="login.ph. Line 116, column 91: end tag for element "FORM" which is not open ...mages/index_18.gif" ALT=""></A></FORM></TD> The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem. If this error occured in a script section of your document, you should probably read this FAQ entry. ✉ Line 126, column 4: end tag for "FORM" omitted, but its declaration does not permit this </TD> ✉ Line 125, column 0: start tag was here <FORM METHOD="POST" style="margin-bottom: 0; display: inline;" ACTION="search.ph Line 128, column 104: end tag for element "FORM" which is not open ...if" NAME="index_26" ALT=""></A></FORM></TD> Anyone got any ideas what it means? I can't figure it out :( |
Did some checking up, it looks like TDs aren't supposed to be within a form, only around them. Try re-arranging it a bit.
|
ok im working on getting rid of the td's between.... but now it's doing something funny
http://www.scriptdownloads.com/header2.php I was working on getting rid of the td's between the search form, but now there is alot of space above the text field, and I have no idea why. Anyone got any ideas? |
Code:
<TD style="background-image:url(images/index_24.gif);">There's your problem. You're trying to close your one TD tag before you've closed the form tag within. You gotta do something like Code:
<td> |
I know, wired already pointed that out (and I forgot to unlink the submit) but I already did all that. Please read my previous post as to what problem I'm currently having
|
In the inline style, try "vertical-align: middle" . That may get rid of that issue.
|
Remember that for XHTML, tags without a normal closing tag need to be internally closed:
Code:
<img src="foo.gif" width="1" height="1" alt="" /> |
what you said didn't work (thegame)
Any more ideas? Also, now I'm getting some errors that were not there yesterday... something about "document type does not allow element "META" here" Anyone got any ideas? |
|
the errors that are left ARE the errors i'm having trouble with
|
boolean: I meant in the <TD> tag, not the <FORM> tag. No big deal though.
As far as your code goes, ceetee's right. You've got a lot of unclosed tags right now going on in your code that may be contributing to things going wrong as well. I can't even view your source in IE. I had to go into FireFox *bleh* to get it. |
I had to do /> for everyone?
For example <TD height="34" /> ? <img src="dd.gif" /> ? Since when has this been the "rule"? I learned html a long time ago and have seen this done before, but didn't know it was required? |