vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Little coding thing (https://vborg.vbsupport.ru/showthread.php?t=193561)

juanpablo 10-14-2008 12:20 AM

Little coding thing
 
HI!, Today I?ve a simple problem. I cant get this code validate, and I was wondering if you can helpme:

Quote:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="$stylevar[outertablewidth]" align="center">

<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
<td class="thead" width="5%">&nbsp;</td>
<td class="thead" width="55%" style="text-align: stylevar[left];">$vbphrase[forum]</td>
<td class="thead" width="10%">$vbphrase[threads]</td>
<td class="thead" width="10%">$vbphrase[posts]</td>
<td class="thead" width="20%">$vbphrase[last_post]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead" width="0%">$vbphrase[moderator]</td>
</if>
</tr>
$childforumbits
</tbody>
</if>
</table>










Like always, thank you all!

Dismounted 10-14-2008 04:43 AM

What validation?

juanpablo 10-14-2008 12:59 PM

w3, Im sorry and Thanks

mooreaa 10-14-2008 09:54 PM

do you have a url for the page that doesn't validate?

You are using table width and align... you might look at the html doctype to see if it might be causing your validation issues. This would be the very first tag at the very top of your page... without it we won't know what rules you are trying to follow so let us know your doctype or url.

FYI the doctype tag should look something like: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Dismounted 10-15-2008 06:08 AM

Your code will definitely not validate if you just pass that snippet through. And it will not validate when it is not parsed. So you need to actually pass the page URL through the validator, as that is the complete page.

juanpablo 10-19-2008 06:52 PM

Of course, but I just copy the part of code wich is having a problem

Dismounted 10-20-2008 06:06 AM

And the error is?...


All times are GMT. The time now is 02:42 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.01092 seconds
  • Memory Usage 1,720KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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