pnmorrison Posted March 16, 2009 Report Share Posted March 16, 2009 a page on my site fails validation because of this structure: ... Can anyone see what is wrong with this. I presumed can nest inside a , and surely there is no probs with placing a inside a table... Thanks in advance. Quote Link to comment Share on other sites More sharing options...
shelfimage Posted March 16, 2009 Report Share Posted March 16, 2009 depending on the doctype it could fail for all kinds of reasons like no summary="" in the table element, deprecated attributes in the TD or TR elements, etc... Might be best to post complete code although a link to the page is best. Quote Link to comment Share on other sites More sharing options...
Guest dcman007 Posted July 29, 2009 Report Share Posted July 29, 2009 I agree with user shelfimage. Post a link so we can see it all. Also, unless it's tabular data you're needing to display you really should be using CSS for page layout Quote Link to comment Share on other sites More sharing options...
LSW Posted July 29, 2009 Report Share Posted July 29, 2009 It is also helpful to post the actual error message. As well, there are different validators available, keep a couple in favorites. All have message issues, I find that if I am not sure of the message in one... I will run it through another and some times make better sense of the error. One possible issue could be the H3, although "legal", you can start a series with something like a H3, but can only follow it with H4, H5, H6. Headers should always start with H1 then H2 etc. That said, there are times when using CSS, an H1 may be at the top in the final HTML, but in the code it is below another H Tag... this may fail a code validation though right in the end. So as mentioned above it can be many things and the structure is right... but not enough to see the issue. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.