View Full Version : header problem
mikey8270
08-23-2002, 09:18 PM
hey,
i have a header that stretches across the whole top of the page...
the code for it (in the header template) is:
<table border="0" width="100%" cellpadding="0" cellspacing="0" background="images/header_bg.gif">
<tr valign="top">
<td valign="top" align="left" width="467" height="105"><img src="images/header_top_left.jpg" border="0" alt=""></td>
</tr>
<tr valign="bottom">
<td align="left" width="140" height="35"><a href="index.php?s=$session[sessionhash]"><img src="images/header_bottom_left.gif" border="0" alt="$bbtitle"></a></td>
<td width="100%" height="35"><img src="images/space.gif" alt=""></td>
<td align="right" width="347" height="35"><img src="images/header_bottom_right.gif" alt="" border="0"></td>
</tr>
</table>
it looks fine on the forumhome, but when i go to a forum it doesnt stretch across the whole page..it just stops.
and if i refresh the page when it doesnt stretch actoss the whole page it fixes on that page.
ive been trying to fix this for a while, can anybody help?
thanks,
mikey.
screenshots on the next 2 posts
mikey8270
08-23-2002, 09:24 PM
here it is without the space
mikey8270
08-23-2002, 09:25 PM
and here it is with the space
mashby
08-23-2002, 10:25 PM
It looks like you might have a spacer still in your show thread template. You removed it from your forumhome template, but I think it still remains in your showthread template.
Without a larger screenshot it's hard to tell, but that would be my guess. :)
Tony G
08-23-2002, 11:38 PM
Hmm when I went to your home page everything seems to work fine, unless this is for another forum..
mikey8270
08-24-2002, 12:40 AM
its another style u cant see yet :P
mikey8270
08-24-2002, 12:42 AM
Originally posted by mashby
It looks like you might have a spacer still in your show thread template. You removed it from your forumhome template, but I think it still remains in your showthread template.
Without a larger screenshot it's hard to tell, but that would be my guess. :)
thanks for the tip, ill check it in a sec....but why would it stretch out all the way if i refresh?
mikey8270
08-24-2002, 12:48 AM
and its not just showthread either, like if i go to a forum from forumhome it doesnt go all the way, and then if i hit back to go back to forumhome the header kepps the space and then when i hit refresh it goes back to normal.
Tony G
08-24-2002, 01:35 AM
Are there any spacers around the header variable in forumhome then?
mikey8270
08-24-2002, 04:31 PM
here is my forumhome template:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<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">
<title>$bbtitle - where it all begins...</title>
$headinclude
</head>
<body>
$header
<!-- text -->
<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">
<td><normalfont><b>$bbtitle</b></normalfont></td>
<td align="right"><smallfont>$welcometext<br><b>$newposts</b></smallfont></td>
</tr>
</table>
<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
$unregwelcomemessage
<tr valign="bottom">
<td><smallfont>
Members: $numbermembers, Threads: $totalthreads, Posts: $totalposts<br>
Welcome to our newest member, <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$newuserid">$newusername</a>
</smallfont></td>
<td align="right"><smallfont>
The time now is $timenow.<br>
You last visited: $bbuserinfo[lastvisitdate].
</smallfont></td>
</tr>
</table>
<!-- /text -->
<br>
<!-- main -->
<table cellpadding="0" cellspacing="0" border="0" bgcolor=""#FFFFFF" background="images/mainbg.gif"" width="100%" align="center"><tr><td>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#6597D9" width="100%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
$loggedinusers
$birthdaybits
$pminfo
</table>
</td></tr></table>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
$forumbits
</table>
</td></tr></table>
<!-- /main -->
<br>
<!-- timezone/login-->
<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">
<td><smallfont>$timezone</smallfont></td>
<td align="right">$logincode</td>
</tr>
</table>
<!-- /timezone/login -->
<br>
<!-- icons -->
<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td align="center">
<img src="images/on.gif" border="0" alt="On" align="absmiddle">
<b><smallfont>New posts</smallfont></b>
<img src="images/off.gif" border="0" alt="Off" align="absmiddle">
<b><smallfont>No new posts</smallfont></b>
<img src="images/lock.gif" border="0" alt="Closed Forum" align="absmiddle">
<b><smallfont>A closed forum</smallfont></b>
</td>
</tr>
</table>
<!-- /icons -->
$footer
</body>
</html>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.