View Full Version : How do i get my Header Image to Stay Left?
Supafresh
06-22-2006, 02:43 AM
My board is at http://www.4g63hp.com/forums/cmps_index.php
i cant seem to get the header image to stick to the left, it always seems to move around when i resize the browser. if it goes really small it looks bad.
Princeton
06-22-2006, 12:25 PM
Can you show a screenshot of your problem?
Supafresh
06-24-2006, 04:17 AM
Here is the example of the site in a maximized window at 1024x768.. you see the car is to the left and aligned with the forum.
http://www.303lab.com/4g_big.gif
Here is what happens when you take a maximized window and start shrinking it.. The Logo in the header starts to move to the right and is no longer aligned with the forum
http://www.303lab.com/f4_small.gif
Sean S
06-24-2006, 07:53 AM
the reason that this problem is caused is because your forums don't decrease in size by 80% all in every page. For example the minimum width on your cmps page is 790px, and if you decrease the page width more, you'll see that scrollbars will appear.
To fix the problem in the homepage, replace your header code with this,
<!-- logo -->
<a name="top"></a>
<table border="0" style="width:$stylevar[outertablewidth];" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]" <if condition="THIS_SCRIPT == 'index'">width="690"<else />width="790"</if> nowrap="nowrap"><a href="http://www.4g63hp.com/forums/cmps_index.php"><img src="http://www.4g63hp.com/forums/banner/random.php" border="0" alt="4G63HP.COM DSM And EVO Performance Forums" /></a></td>
</tr>
<code here> </if>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
however, the homepage's min width is 790px, but your forums are 690px, so I added a little if condition that I hope will work,
just test it out and let me know if it worked or not. ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.