PDA

View Full Version : Anyone know why postbit like this?


patriotcow
05-12-2005, 08:32 PM
Can anyone help tell me why my postbit has gone like this, smaller than the main header bit.

http://web.hostinglibrary.com/support/showthread.php?p=11#post11

All I have done is edited the header and footer of the forum.

Any help is appreciated.

Thanks

Kaishi
05-12-2005, 10:34 PM
can't really help u if u don't post your code here... but probably your width wasn't set to 100%

patriotcow
05-12-2005, 10:56 PM
It is, Its only the header and footer of the actually vbulletin I have changed.

Well anyway code for header is:


<script type="text/javascript" language="JavaScript1.2" src="stm31.js">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<body onLoad="MM_preloadImages('http://web.hostinglibrary.com/images/hb_comp3_82.gif')">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="4"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td width="585"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td width="5%"><div align="center"><img src="http://web.hostinglibrary.com/images/hb_comp1_97.gif" alt="alt" height="32" width="16" /></div></td>
<td class="features" width="6%"><a href="http://web.hostinglibrary.com/index.php">home</a></td>
<td width="5%"><div align="center"><img src="http://web.hostinglibrary.com/images/hb_comp1_97.gif" alt="alt" height="32" width="16" /></div></td>
<td class="features" width="7%"><a href="http://web.hostinglibrary.com/index.php?do=sitemap">sitemap</a></td>
<td class="features" width="5%"><div align="center"><img src="http://web.hostinglibrary.com/images/hb_comp1_97.gif" alt="alt" height="32" width="16" /></div></td>
<td class="features" width="72%"><a href="http://web.hostinglibrary.com/50.html">contact</a></td>
</tr>
</tbody>
</table></td>
<td rowspan="2" width="509"><img src="http://web.hostinglibrary.com/images/hb_comp1_06.gif" alt="" height="146" width="126" /></td>
<td rowspan="2" width="154">&nbsp;</td>
</tr>
<tr>
<td><table width="661" border="0" align="left" cellpadding="0" cellspacing="0">
<tbody>
<tr class="logo_background">
<td class="logo_background" width="42%"><div align="center"><img src="http://web.hostinglibrary.com/images/hb_comp1_09.gif" alt="" height="114" width="104" /></div></td>
<td width="3%"><img src="http://web.hostinglibrary.com/images/hb_comp1_11.gif" alt="" height="114" width="19" /></td>
<td width="30%"><img src="http://web.hostinglibrary.com/images/hb_comp1_12.gif" alt="" height="114" width="249" /></td>
<td width="25%"><img src="http://web.hostinglibrary.com/images/hb_comp1_13.gif" alt="" height="114" width="162" /></td>
</tr>
</tbody>
</table></td>
</tr>
<tr>
<td colspan="3" background="index.php_files/hb_comp1_14.gif"><table id="menu" background="http://web.hostinglibrary.com/images/hb_comp1_14.gif" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td background="index.php_files/hb_comp1_14.gif" width="15"><img src="http://web.hostinglibrary.com/images/hb_comp1_14.gif" alt="" height="37" width="8" /></td>
<td background="index.php_files/hb_comp1_14.gif" width="799">
<div align="right"><a href="http://web.hostinglibrary.com/index.php"><img src="http://web.hostinglibrary.com/images/hb_comp1_16.gif" alt="home" border="0" height="37" width="97" /></a><a href="http://web.hostinglibrary.com/index.php?toprated"><img src="http://web.hostinglibrary.com/images/hb_comp1_17.gif" alt="rated" border="0" height="37" width="96" /></a><a href="http://web.hostinglibrary.com/stats.php"><img src="http://web.hostinglibrary.com/images/hb_comp1_18.gif" alt="statistics" border="0" height="37" width="98" /></a><a href="http://web.hostinglibrary.com/support"><img src="http://web.hostinglibrary.com/images/hb_comp1_19.gif" alt="forums" border="0" height="37" width="92" /></a><a href="http://web.hostinglibrary.com/15.html"><img src="http://web.hostinglibrary.com/images/hb_comp1_20.gif" alt="submit" border="0" height="37" width="122" /></a></div></td>
<td width="40"></td>
<td width="8"></td>
<td width="319"></td>
</tr>
</tbody>
</table></td>
</tr>
<tr> </tr>
</tbody>
</table>
<table border="0" cellpadding="0" cellspacing="0" id="wrapper" align="center">
</tr>
<tr style="height:100%">
<td style="height:100%" valign="top">
<table border="0" cellpadding="4" cellspacing="0" align="center" width="100%" style="height:100%">
<tr style="height:100%" valign="top">
<td id="content" width="100%" valign="top">
<!-- content -->

<!-- Sidebar -->
<table width="$stylevar[tablewidth]" cellpadding="0" cellspacing="7" border="0">
<tr>
<td style="width:150px" valign="top">$sidebar</td>
<td valign="top">
<!-- Update -->
<table width="$stylevar[tablewidth]" cellpadding="0" cellspacing="0" border="0">
<tr>
<td style="width:100%">
<!-- /Update -->
<!-- /Sidebar -->


Code for footer:


<!-- Sidebar -->
<!-- Update -->
</td>
</tr>
</table>
<!-- /Update -->
</td>
</tr>
</table>
<!-- /Sidebar -->
</tr>
</tr>
</table>
</td>
</tr>
<tr>
</tr>
</table>
</body>
</html>
<tr class="footer_bg" />
<td width="55%" valign="top"><img src="http://web.hostinglibrary.com/images/hb_comp1_89.gif" width="232" height="56" />
<td width="7%"><div align="right"><img src="http://web.hostinglibrary.com/images/hb_comp1_93.gif" width="52" height="68" alt="" />
<td width="34%" class="footer_bg_two"
$timer


Code for sidebar:

<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="domain_header">
<td width="13%"><img src="http://web.hostinglibrary.com/images/hb_comp4_22.gif" width="29" height="32" alt="" /></td>
<td width="62%" class="domains"><div align="center">Forum Menu:</div></td>
<td width="25%"><div align="right"><img src="http://web.hostinglibrary.com/images/hb_comp4_26.gif" width="9" height="32" alt="" /></div></td>
</tr>
</table></td>
</tr>
<tr>
<td class="domain_background"><table width="100%" border="0" cellspacing="0" cellpadding="1">
<div><img src="http://web.hostinglibrary.com/img/nav.gif" alt="alt" /> <a class="navlinks" href="http://web.hostinglibrary.com/support/">Forum Index</a>$flagged </div>
<div><img src="http://web.hostinglibrary.com/img/nav.gif" alt="alt" /> <a class="navlinks" href="http://web.hostinglibrary.com/support/register.php">Register</a></div>
<div><img src="http://web.hostinglibrary.com/img/nav.gif" alt="alt" /> <a class="navlinks" href="http://web.hostinglibrary.com/support/faq.php">Frequently Asked Questions</a></div>
<div><img src="http://web.hostinglibrary.com/img/nav.gif" alt="alt" /> <a class="navlinks" href="http://web.hostinglibrary.com/support/memberlist.php">Member List</a></div>
<div><img src="http://web.hostinglibrary.com/img/nav.gif" alt="alt" /> <a class="navlinks" href="http://web.hostinglibrary.com/support/calendar.php">Calendar</a></div>
<div><img src="http://web.hostinglibrary.com/img/nav.gif" alt="alt" /> <a class="navlinks" href="http://web.hostinglibrary.com/support/search.php?do=getnew">New Posts</a></div>
<div><img src="http://web.hostinglibrary.com/img/nav.gif" alt="alt" /> <a class="navlinks" href="http://web.hostinglibrary.com/support/search.php">Search</a></div>
<div><img src="http://web.hostinglibrary.com/img/nav.gif" alt="alt" /> <a class="navlinks" href="http://web.hostinglibrary.com/support/login.php?do=logout&u=1">Logout</a></div>
</table></td>
</tr>
<tr>
<td><img src="http://web.hostinglibrary.com/images/hb_comp1_36.gif" width="232" height="16" alt="" /></td>
</tr>
</table></td>
</tr>
</table>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="domain_header">
<td width="13%"><img src="http://web.hostinglibrary.com/images/hb_comp4_22.gif" width="29" height="32" alt="" /></td>
<td width="62%" class="domains"><div align="left">Advertisements:</div></td>
<td width="25%"><div align="right"><img src="http://web.hostinglibrary.com/images/hb_comp4_26.gif" width="9" height="32" alt="" /></div></td>
</tr>
</table></td>
</tr>
<tr>
<td class="domain_background"><table width="100%" border="0" cellspacing="0" cellpadding="1">
</table>
<div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-0330649888885782";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "666666";
google_color_url = "666666";
google_color_text = "6F6F6F";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div></tr>
<tr>
<td><img src="http://web.hostinglibrary.com/images/hb_comp1_36.gif" width="232" height="16" alt="" /></td>
</tr>
</table></td>
</tr>
</table>


Thanks!

WhSox21
05-13-2005, 12:03 AM
The problem is in the spacer_open template. It's being called before it displays the postbit and the code has the left and right side set to 25 pixels.

patriotcow
05-13-2005, 12:36 AM
The problem is in the spacer_open template. It's being called before it displays the postbit and the code has the left and right side set to 25 pixels.
Can you point me in an easier direction please, I could not find spacer_open anywhere. Thanks :)

I figured it out, Thanks for your help :)