Empty Space Empty Space
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Empty Space

Started by MetalJoe, April 04, 2011, 04:16:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MetalJoe

Hi to all,
I was wondering if I could get a little help. I have been modifying a theme to match a website i am working on, I somehow ended up with a big empty space on the right side of the album page. Not sure how to fix this. Any help will be appreciated.

Thanks
http://www.olsenelectric.net/gallery/thumbnails.php?album=1

MetalJoe

Realized this is only happening in FF4. Displays properly in IE. Also when logging in or uploading pics the content is way to the right where the empty space is. Again only in FF.

MetalJoe

Never mind, I figured it out.

Αndré

Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
Resolve your threads
If you have found an answer to your question, resolve your thread. Don't just post "I have found the answer", but tell others what you actually did to solve your issues. Posting a link to the page where you found the answer might help. Describing what you did might help as well. Finally, you can tag your answer as "solved" by clicking on the little image in your initial posting on your thread.

MetalJoe

@Αndré, Understood.
My issue was when I modified the theme to match the site some how the div tags on the System Menu and the location menu were interfering with each other when in a album. The System Menu was pushing the other menu to the right creating the empty space. To solve this I moved the {SYS_MENU}{SUB_MENU}{ADMIN_MENU} from above the gallery to below the gallery just above the cpg footer block.

http://www.olsenelectric.net/gallery/index.php
http://www.olsenelectric.net/gallery/thumbnails.php?album=2

This is the Orginal Curve Code that I started with.
<textarea name="TextArea1" style="width: 799px; height: 250px">           
<div id="main_menu">
                    {SYS_MENU}{SUB_MENU}{ADMIN_MENU}
            </div><!-- Begin IE7 support --><img src="images/spacer.gif" class="menuheight" alt="" /><!-- End IE7 support -->
            <div class="clearer"></div>
            {MESSAGE_BLOCK}
        </div>
    </div>
    <div id="cpg_main_block_outer">
        <div class="cpg_main_block_inner">
            {GALLERY}
            <br /> <!-- workaround for issue 64492 - do not remove the line break! -->
        </div>
    </div>
    <div id="cpg_footer_block_outer">
        <div class="cpg_footer_block_inner">
            {CUSTOM_FOOTER}
            {CREDITS}
        </div>
</textarea>


Then ended up doing this:
<textarea name="TextArea2" rows="2" style="width: 799px; height: 168px"><div class="auto-style8">
            <div style="width: 878px">{GALLERY}</div>
            <br /> <!-- workaround for issue 64492 - do not remove the line break! -->
        </div>
    </div>
    <div id="main_menu">
                    <div style="width: 878px">{SYS_MENU}{SUB_MENU}{ADMIN_MENU}</div>
            </div>
    <div id="cpg_footer_block_outer">
        <div class="cpg_footer_block_inner">
            {CUSTOM_FOOTER}
            {CREDITS}
        </div>
</textarea>

MetalJoe

Also sorry about the link in my first post. I deleted that album, it was the testing album.