vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   why is this table like this? (https://vborg.vbsupport.ru/showthread.php?t=68904)

AN-net 08-31-2004 05:01 AM

why is this table like this?
 
1 Attachment(s)
um i get these alot when coding with vb templates, y does the table turn out like this(see attachment)?

here is the page's code:
HTML Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
        <title>$vboptions[bbtitle] - vB Journal: Top Journals</title>
$headinclude
</head>
<body>
$header
$navbar
<br />
<table width="100%" border="0" align="center"
<tr>

<td>
<table class="tborder" align="$stylevar[left]" border="0" width="100%" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]">
<tr>
<td class="tcat" colspan="3">Top Viewed:</td>
</tr>
<tr>
<td class="thead" width="100%">Journal Name</td><td class="thead" nowrap="nowrap">Journalist</td><td class="thead" nowrap="nowrap">Views</td>
</tr>
$topviewedbits
</table>
</td>
<td>
<table class="tborder" align="$stylevar[right]" border="0" width="100%" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]">
<tr>
<td class="tcat" colspan="3">Top Rated:</td>
</tr>
<tr>
<td class="thead" width="100%">Journal Name</td>
<td class="thead" nowrap="nowrap">Journalist</td>
<td class="thead" nowrap="nowrap">Rating</td>
</tr>
$topratedbits
</table>
</td>
</tr>
<tr>
<td>
<table class="tborder" align="$stylevar[left]" border="0" width="100%" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]">
<tr>
<td class="tcat" colspan="3">Most Comments:</td>
</tr>
<tr>
<td class="thead" width="100%">Journal Name</td>
<td class="thead" nowrap="nowrap">Journalist</td>
<td class="thead" nowrap="nowrap">Comments</td>
</tr>
$mostcommentsbits
</table>
</td>
<td>
<table class="tborder" align="$stylevar[right]" border="0" width="100%" cellspacing="$stylevar[cellspacing]" cellpadding="$style[cellpadding]">
<tr>
<td class="tcat" colspan="3">Most Entries:</td>
</tr>
<tr>
<td class="thead" width="100%">Journal Name</td>
<td class="thead" nowrap="nowrap">Journalist</td>
<td class="thead" nowrap="nowrap">Entries</td>
</tr>
$mostentriesbits
</table>
</td>
</tr>
</table>
<br />
$footer
</body>
</html>

thanks in advance for your help:)

CarCdr 08-31-2004 10:04 AM

AN, Is is the table alignment that you are referring to, or the bad header line for "Most Entries"?

You are missing a closing ">" on your first table tag.

If it is the alignment of the tables, you might want this in place of that first table/tr tag in that file.

<table width="100%" border="0" align="center">
<tr valign="top">

If it is the last table being squeezed, it is because you reference "$style[cellpadding]" in that last table rather than "$stylevar[cellpadding]".

AN-net 08-31-2004 02:17 PM

thanks so much, you always catch my stupid typos:D again i thank you oh observant one:)

CarCdr 08-31-2004 09:02 PM

Some people are cute... I am... sigh... observant. :)


All times are GMT. The time now is 04:31 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
  • Page Generation 0.01643 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
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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