vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Only one error to fix to obtain w3c Markup validation (https://vborg.vbsupport.ru/showthread.php?t=132518)

Masiello 11-26-2006 01:47 PM

Only one error to fix to obtain w3c Markup validation
 
Hello, I need help, I've fixed myself over 25 bad errors on one template, but now I'm stopped only for one to make w3c markup validate at 100%.
It seems to be correct and I don't know why this error appear, please anybody can help me, to show all parser go here pls:


calorie 11-26-2006 02:03 PM

After a quick glance, it doesn't look like lines 922 through 932 are contained within table tags.

Masiello 11-26-2006 02:05 PM

And how to fix?
Can if you prefer I paste here the footer code.
thx

Here is the code:

Code:

<br />
<br />
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" class="page" align="center">
        <tr>
        <td align="$stylevar[left]">
        <div class="smallfont" align="left">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div></td>
        <td align="$stylevar[right]"><div class="smallfont"><strong>
        <if condition="!$show['guest']">
                <!-- member logout -->
                <a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]"  onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a>
                <!-- end member logout -->
        </if>               
                </strong>
                </div>
                </td>
                </tr>
                </table>
<br />
<br />

<!-- /content area table -->
<if condition="$show['quickchooser']">

                <td class="tfoot">
                        <select name="styleid" onchange="switch_id(this, 'style')">
                                <optgroup label="$vbphrase[quick_style_chooser]">
                                        $quickchooserbits
                                </optgroup>
                        </select>
                </td>
        </if>
        <if condition="$show['languagechooser']">
                <td class="tfoot">
                        <select name="langid" onchange="switch_id(this, 'lang')">
                                <optgroup label="$vbphrase[quick_language_chooser]">
                                        $languagechooserbits
                                </optgroup>
                        </select>
                </td>
        </if>

<div class="smallfont" align="right">
                <if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>
                <if condition="$vboptions[hometitle]"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if>
                <if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
                <if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
                <if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
                <if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
                <a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>

                </div><br />

<div align="center">
        <div class="smallfont" align="center">
        <!-- Do not remove this copyright notice -->
        $vbphrase[powered_by_vbulletin]
        <!-- Do not remove this copyright notice -->
        </div>
       
        <div class="smallfont" align="center">
        <!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
        $cronimage
        <!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
       
        $vboptions[copyrighttext]
        </div>
</div>

<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php" method="post" name="dstform">
        <input type="hidden" name="s" value="$session[sessionhash]" />
        <input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
        var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
        var utcOffset = new Date().getTimezoneOffset() / 60;
        if (Math.abs(tzOffset + utcOffset) == 1)
        {        // Dst offset is 1 so its changed
                document.forms.dstform.submit();
        }
//-->
</script>
<!-- / auto DST correction code -->

</if>
<script type="text/javascript">
<!--
        // Main vBulletin Javascript Initialization
        vBulletin_init();
//-->
</script>
</div>


calorie 11-26-2006 02:10 PM

Code:

<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>

        <td class="tfoot">
                <select name="styleid" onchange="switch_id(this, 'style')">
                        <optgroup label="Scelta Dello Stile Preferito">
                                <option value="6" class="" >-- Imagize</option>
                                <option value="7" class="" >-- Imagize_x</option>
                                <option value="1" class="" >-- Default Style</option>
                                <option value="8" class="" selected="selected">-- Blue Toast</option>
                        </optgroup>
                </select>
        </td>
</tr>
</table>


Masiello 11-26-2006 02:14 PM

In that mode:

Quote:

Line 924, column 19: document type does not allow element "td" here; assuming missing "tr" start-tag .

<td class="tfoot">
EDIT: Ops sorry, forgot the open tr tag, it's fixed now!!!
Thank you so much!!

Thanks again Men :-)


All times are GMT. The time now is 07:18 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01084 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete