Log in

View Full Version : Can you help me? :)


Dean N Steve
12-19-2002, 07:11 PM
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:


<!-- 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="$bbtitle" align="center"></center>
</a>
<tr><td valign="bottom" align="center" nowrap>


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


Start of forumhome:


{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 http://www.vbulletin.com/ .">
<title>$bbtitle - powered by vBulletin</title>
$headinclude
</head>
<body>
$header




<table cellpadding="0" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<!-- $unregwelcomemessage -->
<tr valign="bottom">
<td background="{imagesfolder}/statsbgtop.gif" width="252"><smallfont>
&nbsp;Members: $numbermembers, Threads: $totalthreads, Posts: $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 :

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


replace with:

<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:
<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:

<table cellpadding="0" cellspacing="0" border="0" width="100%" valign=_top>

That should work.

And BLaRmuS, thats not what miSt is asking for.

BLaRmuS
12-23-2002, 04:23 PM
ohh i didt know but ok