MyBB Community Forums

Full Version: Bottom background problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I currently have a gap at the bottom of my page when the page container doesn't fill the whole page. see pic:
[attachment=6164]

What I want to become is this:
[attachment=6165]

Mind that there are 2 different backgrounds:
- The borders (912 px)
- The stripes (body)

I want the forum to be resizable without messing up the background. So merging the 2 backgrounds to 1 won't solve the problem I think.
I think the best way to do this is making sure the page container filles the full vertical 100% of the page. But I have no clue if this is even possible :s
In the footer find the block that loads the RH / Side graphics.

Replace the block in the example here, and add it after <!-- End copyright -->

You will also need to change "trow3" to whatever class you are using in the footer.

<table class="trow3" width="100%">
<tr>
<td colspan="100%" class="trow3" height="180px" cellpadding="2" cellspacing="1" border="0"></span></td>
</tr>
</table>

</td> 
<td width="18px" align="left" style="vertical-align:top;background:url({$theme['imgdir']}/backgrounds/shadow_right.jpg);"><img src="{$theme['imgdir']}/backgrounds/shadow_right_top.jpg" border="0"></td>
</tr>
</table>

Should work, and only leave a small gap at the bottom.
Also the problem only exists because you have no posts or threads. That's something that should be short-lived.
And I was under the impression that this is something like what was requested. Wink

And the height can be adjusted in the "Added" table. Smile
labrocca Wrote:Also the problem only exists because you have no posts or threads. That's something that should be short-lived.

Yea, I know, but I'm planning to spread the theme when it's done. And I don't like spreading work that's half done :p

@Lopalong:
Thanks for the code, but that also creates unnessecary white spaces.
I just want a way to fill the page to the bottom. No less, no more. Thanks though.

If I don't find a way I think I'm going to design a footer image and don't make the bg fill the whole height.
I don't know if you have been here at any time, but it may help. Wink

http://www.w3schools.com/css/css_padding.asp
that's not the problem
It's a funny one Wink

I see what you are getting at and what you want to do. Smile

It's not something I've tried with MyBB, so pitch in there and let us know how you solve it. Toungue

I would have a "Play", but I've really got other things to do. Wink
I'm probably going for a footer image :p Although I'll have to design a new border Big Grin