![]() |
Im Trying to XHTML Validate my board...
Im trying to validate my forum, so far i had 139 errors..
I got them down to 59 errors. But there are some things that i dont know even how to approach in order to fix them... I cant fix all of these errors: http://validator.w3.org/check?uri=ht...tomatically%29 If anyone would be kind enough to have a look an tell me how to fix some ill be happy...(most errors are of the same kind) Thanks, www.ex-zone.com |
Half of those errors are due to incorrect nesting. As you're validating your XHTML i'm assuming you know the three golden rules. Nesting should be consistent being one of them. Go through your code and find out where you are not closing tags etc. Then that'll narrow it down so we can help some more :)
|
yep, I agree ... and
1. you are using deprecated tags/attributes. 2. image tags are not being closed properly |
Quote:
Quote:
and where is there an error about improper closure of an img tag? |
valign is a deprecated attribute
onClick should be onclick etc. <img src="" alt="" title="" /> <-- the proper way to close image when using XHTML FYI: All tags that do not have a closing end should be closed properly. |
Quote:
Whats the replacement for valign? and all the single tag tags are closed. |
Quote:
:) |
Quote:
Hmmm valign doesnt seem to affect it to be XHTML valid... |
Sort out those nesting issues Guy! :p lol
|
Quote:
And going through all that code would be crazy... |
Quote:
|
To be honest, i have no idea how to fix them...
For example: Quote:
... |
It means incorrect nesting. Either you've started a <td> tag and not closed it, or you've wrote a </td> when there is no <td> to start it.
|
Quote:
Ok so i got it to 27 errors alone.. check it here: http://validator.w3.org/check?uri=ht...&sp=1#line-352 now it seems most of the errors generate out of this block. anyone willing to have a quick look? HTML Code:
//--> </script> <!-- logo --> <a name="top"></a> <div align="center"> |
Quote:
It would take me some time to figure out what's what with thecodepastedfrom the results from your XHTML Vebose validation. I see things easierin the templates than i do with the raw ouput. But if you want to do it yourself, take in the template that code isin, and where you see an open tag like <td>, and Close it for example. HTML Code:
<td class="vbmenu_control"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_cp]</a></td> HTML Code:
<td class="vbmenu_control"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_cp]</a> If you see an open <tr> tag also close it. Note the following example. HTML Code:
<!-- Arcade Search --> all it is, is going through your template and where you see a tag open and not closed. close it. Now when you start to close all the open tags most of the other stuffshould go away with it, because it's directly linked to the error's forthe non closed tags. now if you see this Line 356, column 942: end tag for "tr" omitted, but OMITTAG NO was specified that means a <tr> was never started. so it's trying to close atag that was never opened. Like in the example above,you'll note how itstarted and ended it's tags. It should be safe to removethe</tr>, but just in case, you can always omit the tagwith<!--</tr> -->, If no error's show up, then you can justremove the code. First make sure that there indeed was no <tr>needed, or started above, but closed to early. Same thing goes for <table> and</table> tags. ift hey'renot closed. close them, if they're not opened, test first, then removeif it's sucessfull. an example of a properly opened and closed table HTML Code:
<!-- Addon to John's vB3 ArcadeV3 hack - created by Natch --> |
1 Attachment(s)
Thanks for your time.
But the problem is that there are so many tags and tables within tables within tables thats its nearly impossible to figure it out... You know any XHTML editor who would show me nesting problems of tags? This is the header template, the source for most problems... |
All times are GMT. The time now is 05:02 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|