vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Inexplainable space between lines... (https://vborg.vbsupport.ru/showthread.php?t=87101)

Kasper_H 06-29-2003 05:08 PM

Inexplainable space between lines...
 
Hello again :)
I don't get this: Quite often when i modify some templates, i will get a space between the lines. So it's like

1. Line
(A half, empty line)
2. Line

So there's a line spacing of 1? :confused:
Then the weird thing is, that if i change the code back to the original (which didn't have a line spacing of 1? before) I get the space :eek: I don't get it!

What have i done wrong? :confused:

Tony G 06-29-2003 10:37 PM

A spacer image maybe? Could you post a screenshot of what it is?

KeithMcL 07-01-2003 09:39 PM

If you have entered a hard return this can sometimes end up causing the browser to display extra space.

Kasper_H 07-04-2003 10:43 AM

Hard return? Sorry... I have no idea of what this is :/

Rufus69 07-04-2003 12:54 PM

this



That^ :)

Kasper_H 07-04-2003 06:06 PM

Oh... Hehe :p

Well, the spaces are still there even though I'm using the original code, which didn't have any spaces before, so I'm guessing this isn't the course :/

KeithMcL 07-05-2003 12:31 PM

How about posting the bit of code so we can see if we can spot anything else?

Kasper_H 07-07-2003 10:21 AM

1 Attachment(s)
This is the code:
Code:

        <td bgcolor="{firstaltcolor}" valign="top" $width>
          <img src="{imagesfolder}/$forum[onoff].gif" border="0" alt="" />
          <a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a><br>
<a href="showthread.php?s=$session[sessionhash]&goto=lastpost&forumid=$forum[forumid]" title="By: $forum[lastposter]"><smallfont><b>$showlastpostingtitle</b></smallfont></a>
        </td>

Which results in this (It's in columns by the way):

Kasper_H 07-24-2003 07:56 AM

Please? Anyone?

Giveit2u43 07-25-2003 01:56 PM

You could try editing the code to:

Code:

<td bgcolor="{firstaltcolor}" valign="top" $width><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt="" align="absmiddle" />&nbsp;<a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a><br><a href="showthread.php?s=$session[sessionhash]&goto=lastpost&forumid=$forum[forumid]" title="By: $forum[lastposter]"><smallfont><b>$showlastpostingtitle</b></smallfont></a></td>


All times are GMT. The time now is 09:28 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.06916 seconds
  • Memory Usage 1,724KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete