vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Can you help me? :) (https://vborg.vbsupport.ru/showthread.php?t=85726)

Dean N Steve 12-19-2002 07:11 PM

Can you help me? :)
 
1 Attachment(s)
I have this strange 1 pixel gap between my header and the contents in forumhome..

I've checked the tables and there's no cellpadding or spacing (it's all set to 0)

I can't think for the life of me what's causing it..

Any ideas :)?

Regards

- miSt

Cypher720 12-19-2002 07:34 PM

post your code...itll be a lot easier

btw - i know i said i cant do it on AIM...and i still cant, but other people can...and will:)

filburt1 12-19-2002 07:36 PM

Usually when you see that it's because of extra whitespace (spaces, tabs, newlines) in the <td> cell.

Dean N Steve 12-19-2002 09:04 PM

Ok i'll post up my header and the start of my forumhome template... One sec:

Header:

PHP Code:

<!-- logo and buttons -->
<
center>

<
table bgcolor="{pagebgcolor}" class="bordert" border="0" width="{tablewidth}" cellpadding="0" cellspacing="0">
<
tr><td>

<
table border="0" width="{tablewidth}" cellpadding="0" cellspacing="0" bgcolor="{pagebgcolor}">


  <
a href="index.php?s=$session[sessionhash]">
<
center><img src="{titleimage}" border="0" alt="$bbtitlealign="center"></center>
</
a>
  <
tr><td valign="bottom" align="center" nowrap>


  </
td>
</
tr>
</
table>
<!-- /
logo and buttons --> 

Start of forumhome:

PHP Code:

{htmldoctype}
<
html>
<
head>
    <!-- 
no cache headers -->
    <
meta http-equiv="Pragma" content="no-cache">
    <
meta http-equiv="no-cache">
    <
meta http-equiv="Expires" content="-1">
    <
meta http-equiv="Cache-Control" content="no-cache">
    <!-- 
end no cache headers -->
    <
meta name="keywords" content="vbulletin,forum,bbs,discussion,jelsoft">
    <
meta name="description" content="$bbtitle is a discussion forum powered by vBulletin. To visit the forum, go to $bburl/ . To find out about vBulletin, go to [url]http://www.vbulletin.com/[/url] .">
    <
title>$bbtitle powered by vBulletin</title>
    
$headinclude
</head>
<
body>
$header




<table cellpadding="0" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextraalign="center">
<!-- 
$unregwelcomemessage -->
<
tr valign="bottom">
    <
td background="{imagesfolder}/statsbgtop.gif" width="252"><smallfont>
&
nbsp;Members$numbermembersThreads$totalthreadsPosts$totalposts<br>
&
nbsp;Welcome to our newest member, <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$newuserid">$newusername</a>
    </
smallfont></td>
<
td align="right" width="252">aaaaa</td>
    <
td align="right" width="252" background="{imagesfolder}/infobgtop.gif"><smallfont>
    
The time now is $timenow.<br>
    
You last visited$bbuserinfo[lastvisitdate].
    </
smallfont></td>
</
tr>


<
tr valign="bottom">
    <
td width="252" background="{imagesfolder}/statsbgbottom.gif"><smallfont>

    </
smallfont></td>
<
td align="right" width="252">aaaaa</td>
    <
td align="right" width="252" background="{imagesfolder}/infobgbottom.gif"><smallfont>
    </
smallfont></td>
</
tr>



</
table>
<!-- /
text -->

<
br

Regards

- miSt

Dean N Steve 12-21-2002 06:50 AM

Can anyone help mr mist :P

Purty please..

- miSt

Dean N Steve 12-22-2002 05:45 PM

Please can somone help?

assassingod 12-22-2002 06:46 PM

Underneath $header, find :
Code:

<table cellpadding="0" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
replace with:

Code:

<table cellpadding="0" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} v_align=top>
Might work

Dean N Steve 12-23-2002 03:45 PM

Nope that doesn't work....

I think it should also be valign="top" - not v_align="top" (dont quote me on it tho hehe)

I tried both :p

Any more ideas

*calls out mr knowitall filburt hehe*

- miSt

BLaRmuS 12-23-2002 03:57 PM

lol its not that hard to find

find:
Quote:

<td align="right" width="252">aaaaa</td>
and then you can just take it out or you can jsut take out the aaaaa

assassingod 12-23-2002 04:11 PM

Try this:
Code:

<table cellpadding="0" cellspacing="0" border="0" width="100%"  valign=_top>
That should work.

And BLaRmuS, thats not what miSt is asking for.


All times are GMT. The time now is 03:44 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.01209 seconds
  • Memory Usage 1,760KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)bbcode_quote_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