Tech Support Guy banner
  • Please post in our Community Feedback thread for help with the new forum software! If you are having trouble logging in, please Contact Us for assistance.
Status
Not open for further replies.
1 - 8 of 8 Posts

·
Registered
Joined
·
579 Posts
Discussion Starter · #1 ·
I have been working on my website trying to make it W3C Valid but I have stuck with only 2 errors left. I have tried just about everything and I'm kinda stuck. I have 2 floating [TD]'s but I'm not sure where to properly close them off. I feel I may have a table error thats causing it. I also have CSS controlling everything but I'm not sure if that could be causing it.

Here is the errors:

http://validator.w3.org/check?uri=h...charset=(detect+automatically)&doctype=Inline

Code:
# Error  Line 171 column 19: document type does not allow element "td" here.

<td class="maincol">

The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).

# Error Line 393 column 3: document type does not allow element "td" here.

<td>
Here is the link to my website: http://www.softhardware.net/

I would have posted the source here but TSG said it was too long. :)
 

·
Registered
Joined
·
579 Posts
Discussion Starter · #6 ·
Yeah I was able to get it thanks to good ole brendandonhu. The problem was the two [TD] tags I had needed to be closed infront of one another. Here is an example.

What I had:
Code:
<td>

more code here

<td>
What fixed it:
Code:
</td>
<td>

more code here

</td>
<td>
 
1 - 8 of 8 Posts
Status
Not open for further replies.
Top