MoMan
12-27-2006, 06:13 PM
I'm currently converting a phpBB skin to vB, and it turned out to look practically identical, save one thing. (Which is preventing me from making it public)
Neither the header table, nor the footer bar, will stretch to the same length as the main forum table.
Please look at the far right of these screenshots so see what I mean: http://www.themotec.com/Files/subice4.jpg
http://www.themotec.com/Files/subice3.jpg
Naturally, I don't want the gap between the main table and the other two. Both table widths are set to 100%, but is there something I'm missing?
Here's the header code and styling:
<table class="topbkg" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><a href="index.php"><img src="subice/logo.gif" border="0" alt="Themotec.com Off-Topic Forum Index" title="Themotec.com Off-Topic Forum Index" width="300" height="110"></a></td>
</tr>
</table>
<!-- content table -->
$spacer_open
$_phpinclude_output
.topbkg{border: 1px solid #98aab1; background: #dbe3ee url(subice/cellpic_bkg.jpg) repeat-x}
Can anyone shed some light on this? I really need it fixed ASAP. Thanks!
Update: the same thing happens when I change the header to use divs. Anyone?
Update #2: I managed to fix this by adding a container table around everything and removing border definiteions from .body.
Neither the header table, nor the footer bar, will stretch to the same length as the main forum table.
Please look at the far right of these screenshots so see what I mean: http://www.themotec.com/Files/subice4.jpg
http://www.themotec.com/Files/subice3.jpg
Naturally, I don't want the gap between the main table and the other two. Both table widths are set to 100%, but is there something I'm missing?
Here's the header code and styling:
<table class="topbkg" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><a href="index.php"><img src="subice/logo.gif" border="0" alt="Themotec.com Off-Topic Forum Index" title="Themotec.com Off-Topic Forum Index" width="300" height="110"></a></td>
</tr>
</table>
<!-- content table -->
$spacer_open
$_phpinclude_output
.topbkg{border: 1px solid #98aab1; background: #dbe3ee url(subice/cellpic_bkg.jpg) repeat-x}
Can anyone shed some light on this? I really need it fixed ASAP. Thanks!
Update: the same thing happens when I change the header to use divs. Anyone?
Update #2: I managed to fix this by adding a container table around everything and removing border definiteions from .body.