vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Where's this < br > coming from? (https://vborg.vbsupport.ru/showthread.php?t=89568)

ZiRu$ 07-30-2004 08:36 PM

Where's this < br > coming from?
 
1 Attachment(s)
Where's that extra line on top coming from? I'm using vb 2.3.5

Here's my entire "forumdisplay_loggedinusers" template
PHP Code:

<normalfont>Browsing this Forum$browsers</normalfont

And here's the part from the "forumdisplay" template
PHP Code:

<center><table width="723" border="0">
  <
tr>
      <
td width="115" valign="top"><div align="left">$newthreadlink</div></td>
      <
td valign="top">
<
div align="center">$onlineusers</div></td>
      <
td width="215" valign="top"
        <
div align="right">$forumjump</div></td>
  </
tr>
</
table></center


Please help me asap!

defi 07-30-2004 09:18 PM

The <br /> is occurring above this code it seems

Code:

<normalfont>Browsing this Forum: $browsers</normalfont>

ZiRu$ 07-30-2004 10:22 PM

That's what i would have thought, but thats my ENTIRE "forumdisplay_loggedinusers" template. There's no < br > or anything above it.

Tony G 07-30-2004 11:21 PM

Remove the align in the <td> tag for online users in forumdisplay, and see what happens.

ZiRu$ 07-30-2004 11:58 PM

^I tried

PHP Code:

<center><table width="723" border="0">
  <
tr>
      <
td width="115" valign="top">$newthreadlink</td>
      <
td valign="top">$onlineusers</td>
      <
td width="215" valign="top">$forumjump</td>
  </
tr>
</
table></center

but no luck......it can't be a template issue. Is it getting it from one of the PHP files?

Fairclough 07-31-2004 09:10 PM

try pushing it up with some CSS? Like style="padding-bottom: 10px"

I know its kinda crude, but its what I do if somethings not aligned right.

KW802 08-01-2004 04:11 AM

I may be wrong but I don't think you'll be able to get rid of it like that. The left cell is defined as being 115px and the right is defined as being 215px with your $onlineusers variable being in the middle; the problem is that $onlineusers is greater than the width available (notice the second line that has the "closed thread icon" extends past the right column). Try removing the 115 length from the left column to see if that helps out.


All times are GMT. The time now is 09:07 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.01076 seconds
  • Memory Usage 1,730KB
  • 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_code_printable
  • (3)bbcode_php_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