PDA

View Full Version : Forum Width Variance Messing Up Header


orange peel
12-22-2009, 04:28 PM
forum.theclubpenguincheats.com

The width of the forum chances depending on the computer, thus if it's wider than normal, it makes the header at the top tiled. Any way to fix this? Im thinking making a fixed forum width? If so, how, and could I maybe make the width a little larger?

Hell Bomb
12-22-2009, 06:14 PM
This should work.


<table width="$stylevar[outertablewidth]" border="0" align="center" cellpadding="0" cellspacing="0" class="wrapper">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="index.php?"><img src="images/solido/spacer.gif" alt="The Club Penguin Cheats Forums" width="100%" height="129"></a></td>
<td valign="top">&nbsp;</td>
</tr>
</table>


Whats i did.
Changed forum width to "$stylevar[outertablewidth]". This will allow the header table to be forced to stay aligned with the forum. Chan i changed the bannder width to 100%. Next i removed the "class="headerwrap" because it was adding the image to be repeated.

orange peel
12-23-2009, 01:19 AM
Sorry for being a noob, but does this go in the header.php under templates?

Hell Bomb
12-23-2009, 04:33 AM
Sorry for being a noob, but does this go in the header.php under templates?

O no problem, if you open admincp go to style, find your style and edit templates then replace the code with the code i posted before.

orange peel
12-23-2009, 06:30 PM
Hi it messed up the forum when I added it to header.php
Basically, it made the width the width of the screen and the header disappeared and the bar with all the links at the top extended past the scroll bar on the right a little
I kinda want it like this on all computers:
http://i475.photobucket.com/albums/rr116/watex/pic-3.jpg

Digital Jedi
12-26-2009, 05:28 PM
You mean your header template, right? There is no header.php file, and you wouldn't be editing files to edit a style in any case.

If you're trying to do what I think you're trying to do, then first we'd need to see your header template code. Copy it and paste it inbtween the [noparse]tags. Depending on how your banner is being displayed in the code, you'd need a different solution to make it fixed.