View Single Post
  #15  
Old 02-14-2005, 01:04 PM
neocorteqz's Avatar
neocorteqz neocorteqz is offline
 
Join Date: May 2002
Location: Barefoot Bay Fl
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Guy G
Ok i see... i think i know where the problem is than... thanks.

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">
 <table width="85%"  border="0" cellspacing="0" cellpadding="1"> <tr> <td bgcolor="#000000">
<table width="100%"  border="0" cellspacing="0" cellpadding="0"> 
<tr> <td width="100%" align="left" style="vertical-align: top">
<table width="100%"  border="0" cellspacing="0" cellpadding="0"> <tr> 
<td bgcolor="#FFFFFF"> <table cellpadding="1" width="100%"> 
<tr> <td bgcolor="#304157"> <table width="100%"  border="0" cellspacing="0" cellpadding="0"> <tr> 
<td align="left" style="background-image: url('images/satellite/header/header_bg.gif')" bgcolor="#F2F4F6">
<ahref="index.php"><imgsrc="images/satellite/header/logo.gif"border="0"alt=""/></a></td></tr></table>
<!-- /logo --> 
<tablewidth="100%"border="0"cellspacing="0"cellpadding="0"><tr><tdheight="22"style="background-image:url('images/satellite/gradients/nav_top_blue.gif')">&nbsp;</td>
</tr> </table> </div> <!-- nav buttons bar -->
<divalign="left"><tableclass="tborder"cellpadding="100%"cellspacing="0"border="0"width="100%"align="center"style="border-top-width:0px">
<tralign="center"><!--<tdclass="vbmenu_control"><ahref="index.php?amp;">Home</a></td>--><tdclass="vbmenu_control"><ahref="register.php?amp;">Register</a>
</td><tdclass="vbmenu_control"><ahref="faq.php?amp;"accesskey="5">FAQ</a></td><tdclass="vbmenu_control">
<ahref="memberlist.php?amp;">MembersList</a></td><tdclass="vbmenu_control"><ahref="calendar.php?amp;">Calendar</a>
</td><tdclass="vbmenu_control"><ahref="forumdisplay.php?amp;do=markread">MarkForumsRead</a></td><tdclass="vbmenu_control"><ahref="#bottom">Bottom</a></td>
 </tr>
</table> </div> <!-- /navbuttonsbar--><divalign="center"><tablewidth="100%"border="0"cellspacing="0"cellpadding="0"><tr>
 <td height="19" style="background-image: url('images/satellite/gradients/nav_bottom_bg.gif')">&nbsp;</td> 
</tr> </table> </div><!--contenttable--><!--BEGIN TEMPLATE: spacer_open--><!--opencontentcontainer --><div align="center">
<divclass="page"style="width:100%;text-align:left"><divstyle="padding:0px15px0px15px"><!-- END TEMPLATE:spacer_open-->
<p></p><divalign="center"style="font-size:20px;font-family:tahoma,verdana,geneva, lucida,'lucida grande',arial,helvetica,sans-serif
I could figure it out better if I could see the template. Or Just the section of code in question.

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>
The above is proper.

HTML Code:
<td class="vbmenu_control"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_cp]</a>
The above is not proper, it is missing a </td> tag.

If you see an open <tr> tag also close it.

Note the following example.
HTML Code:
<!-- Arcade Search -->

		<tr>
			<td class="thead">Arcade Game Search</td>
		</tr>
		<tr>
			<td class="vbmenu_option" title="nohilite">
			<formaction="arcade.php?do=category"method="post">
			<inputtype="text"class="bginput"name="search"size="20"/>$gobutton<br/>
			</form>
			</td>
		</tr>
					<!--ArcadeSearch-->
Unless i made a mistake (which i shouldn't have it's not my code. ) That is proper.

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 -->
    <if condition="$show['member']">
    <!-- flash arcade auto-menu -->
    <div class="vbmenu_popup" id="flasharcade_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
<tr><tdclass="thead"><ahref="$vboptions[bburl]/arcade.php?$session[sessionurl]"title="$vbphrase[arcade_addon_title]">$vbphrase[arcade_addon_title]</a></td></tr>
$nav_arcade
        </table>
    </div>
    <!-- / flash arcade auto-menu -->
    </if>
<!-- Addon to John's vB3 ArcadeV3 hack - created by Natch -->
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01150 seconds
  • Memory Usage 1,819KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete