1

Topic: Connor's portal, sidebar question

I am using ConnorHD's miniportal setup and it's very easy to set up and work with.  I really like it.  I would like to be able to do one thing though...

The side bar on the left. When you view a forum with a lot of topics on it, once you go past the blocks in the side bar, it's just the background color of the site. I'd like the background color of the boxes to continue all the way down to the bottom of the page where the footer is so I don't have this blank spot on the left side of the page.  Any help or ideas on how I can make that color go all the way down?

Thanks in advance.

2 (edited by Kato 2006-06-24 14:23)

Re: Connor's portal, sidebar question

I tried doing this in css, but it still wouldn't work.  This is what I coded:

I added a block with a new class in the main.tpl and also set up a css for it in the main.tpl as well. It displays the block, but does not give it the 100% height.  I can specify a height in px and it will update that, but when I set it for 100% it does nothing. Here is my main.tpl right now. Any help is appreciated.

I can change the height to a specific amount of pixesl and sure enough, that box then extends down that many pixels, but I need it to dynamically fill that space to the footer no matter if it's 10 pixels or 3000 pixels.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html dir="<pun_content_direction>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<pun_char_encoding>" />
<pun_head>
<style type="text/css">
    #left {
        width: 140px;
        float: left;
    }
    #main {
        margin-left: 150px;
    }
    #container {
        width: 100%;
        float: right;
        margin-left: -140px;
    }
    .sidebox {
        width: 140px;
        float: left;
        height: 100%;
    }
</style>
</head>
<body>

<div id="punwrap">
<div id="pun<pun_page>" class="pun">

<div id="brdheader" class="block">
    <div class="box">
        <div id="brdtitle" class="inbox">
            <pun_title>
            <pun_desc>
        </div>
        <pun_navlinks>
        <pun_status>
    </div>
</div>

<div id="container">
    <div id="main">
    
        <pun_announcement>
    
        <pun_main>
        
    </div>    
</div>

<div id="left">    
    <div class="block">
        <h2><span>Site Menu</span></h2>
        <div class="box">
        <pun_sidelinks>            
        </div>
    </div>
    <div class="block">
        <h2 class="block2"><span>Game Sites</span></h2>
        <div class="box">
            <div class="inbox">
                <ul>
                    <li><a href="http://www.nintendo.com">Nintendo</a></li>
                    <li><a href="http://www.nintendowifi.com/global/index.jsp">Nintendo WiFi</a></li>
                    <li><a href="http://etoychest.org">eToychest</a></li>
                    <li><a href="http://www.gamasutra.com/php-bin/news_index.php">GamaSutra</a></li>                
                </ul>        
            </div>
        </div>
    </div>
    <div class="block">
        <h2 class="block2"><span>Whos Online?</span></h2>
        <div class="box">
        <pun_online>
        </div>
    </div>
    <div class="block">
        <div class="box">
            <div class="inbox">
                <div class="sidebox">
                 
                </div>
            </div>
        </div>
    </div>
</div>

<div class="clearer"></div>

<pun_footer>

</div>
</div>

</body>
</html>

3

Re: Connor's portal, sidebar question

This has really been bugging me.  I have tried all kinds of different things from tables just css code to anything I can think of.  How can I make that box dynamically fill the empty space to the bottom where the footer is?

If you need the site to look at what I am talking about, I can provide it for you.

4

Re: Connor's portal, sidebar question

If anyone could give me even a shred, the tip of a bone or something to try.  Is it even possible?

5 (edited by StevenBullen 2006-06-29 22:30)

Re: Connor's portal, sidebar question

Can you post link? then might be able to help.

6

Re: Connor's portal, sidebar question

http://ngl.gamersides.com/forums

PunBB is set up here and I have the miniportal set up. If you go in to a long post, you will see the gap I am talking about along the left side of the screen. It's black and just looks a little out of place.