PDA

View Full Version : Forum home won't validate...


GlitchPC
01-21-2009, 01:28 PM
The problem seems to be in my FORUMHOME template...and it's only one error, however, for the life of me...I can't find the error.

When I go to validate through W3C...it returns the following table error:
Line 511, Column 7: end tag for "table" which is not finished.

</table>

Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
I've gone through the entire FORUMHOME template and can't find the error.

Thanks to anyone who can figure this one out for me. Normally, I'd leave it alone, but hey...it's only one error...and someone's bound to spot it, right?

GlitchPC
01-21-2009, 02:39 PM
Update...

I love it when I can solve my own problems...

It would seem these tags <thead></thead> were causing the issue. I removed those tags from the FORUMHOME template...and low and behold...SUCCESS!

Thanks for looking, anyway...

Glitch PC Admin

Calum
01-21-2009, 02:57 PM
Glad to hear you fixed it!
Give yourself a pat on the back :D
I did have a go, but got caught up in some other things.
Also, the (sample?) code you gave didn't have 511 lines, so I wasn't sure exactly where the error was being thrown.

GlitchPC
01-21-2009, 03:04 PM
The sample code was from the template within vBulletin...not the actual Source. Sorry about that. I thought that if someone were to look at the template code, they'd figure it out...since that's where the problem was.

Anyway...now all I have to do is see if all the other template pages I created validate...and I'll be good to go.

The only thing left to do is to make sure the newsletter page validates, but that's supposedly being taken care of by the coder...we'll have to wait and see.

kpac
01-21-2009, 03:06 PM
Sorry I wasn't along sooner to help, even though it wasn't needed. Been VERY busy lately.....

GlitchPC
01-21-2009, 03:40 PM
No problem, Kieran...

I'm going through all the template pages on the site, now...making sure they're all compliant. Going to take some time...but I'll get 'er done.

GlitchPC
01-21-2009, 07:52 PM
Update...

Glitch PC should now be XHTML/CSS compliant...sitewide.

There are links in the footer (next to our copyright) for W3C validation purposes. Should anyone come across a page that does not validate, please contact the webmaster (http://glitchpc.com/forums/sendmessage.php) (Hey...that's me!), as soon as possible, so that he can address the issue.


Glitch PC Admin

kpac
01-23-2009, 04:01 PM
Well, this thread page, believe it or not has ** errors! LOL! See for yourself.... ;D

Looks like the change of the arcade link messed it up...

EDIT: it's not the link. It's the <marquee> tag for the arcade stats of every member (above Join Date)...
The <marquee> tag is deprecated, if you hadn't known.

GlitchPC
01-23-2009, 04:34 PM
It validates now...LOL!

It wasn't just the <marquee> tags, either. Seems like the HTML code I inserted was bad as well...that is until I fixed it. Removed the marquee from the postbit...and the bad HTML coding from the original thread.

kpac
01-24-2009, 12:51 PM
LOL, great.:biglaugh:

I'll let you know if I find any more... :twitcy:

BC_Programming
01-24-2009, 01:04 PM
I didn't know there was a "thead" tag... I thought it was "th"...

kpac
01-24-2009, 01:10 PM
Yup, it's a tag from HTML 4.

HTML 5 is released now though, and there are a few new tags like <header> and <footer>

http://www.w3schools.com/tags/html5.asp

Hmmm, W3Schools has a new theme....

BC_Programming
01-24-2009, 01:46 PM
so then- th has been short for thead all along?

kpac
01-24-2009, 02:51 PM
I suppose it has, both are still supported.