Web Design Forums

Search Engine Optimization / SEO

If your site is not personal in nature, then it is likely that hits equal money! Ask questions on submitting your site to search engines and other questions here.

weird w3 error



Site of the Month Nominations
ENTER YOUR SITE NOW!

Reply
 
LinkBack Thread Tools
Old July 7 '04, 10:08 PM (#1)
boolean is offline
WDF Regular
 
boolean's Avatar
 
Join Date: June 2003
Posts: 161
boolean has disabled reputation
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 8 '04, 12:01 AM (#2)
Wired is online now
WDF Alien Overlord
 
Wired's Avatar
 
Join Date: April 2003
Posts: 6,421
Wired is just really niceWired is just really niceWired is just really niceWired is just really nice
Send a message via AIM to Wired
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 8 '04, 12:41 AM (#3)
boolean is offline
WDF Regular
 
boolean's Avatar
 
Join Date: June 2003
Posts: 161
boolean has disabled reputation
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 8 '04, 12:52 AM (#4)
TheGAME1264 is offline
Mod-son Canadian
 
TheGAME1264's Avatar
 
Join Date: December 2002
Location: Toronto, Ontario
Posts: 3,032
TheGAME1264 has disabled reputation
Code:
<TD style="background-image:url(images/index_24.gif);">
<FORM METHOD="POST" style="margin-bottom: 0; display: inline;" ACTION="search.php"><INPUT TYPE="TEXT" NAME="search" size="5" class="login">
</TD>
<TD><IMG SRC="images/index_25.gif" WIDTH="15" HEIGHT="25" ALT=""></TD>
<TD><A HREF="search.php"><INPUT TYPE="IMAGE" SRC="images/index_26.gif" NAME="index_26" ALT=""></A>

</FORM></TD>
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>
<form ....>
...form stuff...
</form>
</td>
Also, you don't hyperlink the image submit button. You just name it an input type.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 8 '04, 12:54 AM (#5)
boolean is offline
WDF Regular
 
boolean's Avatar
 
Join Date: June 2003
Posts: 161
boolean has disabled reputation
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 8 '04, 12:10 PM (#6)
TheGAME1264 is offline
Mod-son Canadian
 
TheGAME1264's Avatar
 
Join Date: December 2002
Location: Toronto, Ontario
Posts: 3,032
TheGAME1264 has disabled reputation
In the inline style, try "vertical-align: middle" . That may get rid of that issue.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 8 '04, 01:26 PM (#7)
filburt1 is offline
bored
 
filburt1's Avatar
 
Join Date: July 2002
Location: Maryland, US
Posts: 11,785
filburt1 is a name known to allfilburt1 is a name known to allfilburt1 is a name known to allfilburt1 is a name known to allfilburt1 is a name known to allfilburt1 is a name known to all
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="" />
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 8 '04, 02:53 PM (#8)
boolean is offline
WDF Regular
 
boolean's Avatar
 
Join Date: June 2003
Posts: 161
boolean has disabled reputation
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 8 '04, 03:54 PM (#9)
ceetee is offline
WDF Regular
 
ceetee's Avatar
 
Join Date: July 2003
Posts: 117
ceetee
Fix the basic errors before you do anything else.

http://www.htmlvalidator.com/lite/

Last edited by ceetee; July 8 '04 at 04:03 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 8 '04, 05:51 PM (#10)
boolean is offline
WDF Regular
 
boolean's Avatar
 
Join Date: June 2003
Posts: 161
boolean has disabled reputation
the errors that are left ARE the errors i'm having trouble with
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 8 '04, 06:27 PM (#11)
TheGAME1264 is offline
Mod-son Canadian
 
TheGAME1264's Avatar
 
Join Date: December 2002
Location: Toronto, Ontario
Posts: 3,032
TheGAME1264 has disabled reputation
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 8 '04, 06:43 PM (#12)
boolean is offline
WDF Regular
 
boolean's Avatar
 
Join Date: June 2003
Posts: 161
boolean has disabled reputation
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

  Web Design Forums » Web Marketing Help » Search Engine Optimization / SEO

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
User Infomation
Your Avatar

Site Of The Month

Ticket Cake
Ticket Cake

Ticket Cake is a drupal based event ticketing platform. It features that ability to browse events and share them.

Nominate Your Site Now!

Advertisement
WolfCMS.org

Latest Articles
- by RickM
- by bfsog

Advertisement

Partner Links



All times are GMT -4. The time now is 02:32 AM.


WebDesignForums.net is Copyright © 2010 RikeMedia.

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163