Advanced Search

Results 1 to 2 of 2

Thread: Strange bg.gif appearing at bottom of page

  1. #1
    Join Date
    Oct 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Strange bg.gif appearing at bottom of page

    Hey, Vincent here from New Zealand.
    I am kinda new to coding but I am trying to implement a Javascript animatedcollapse.js file which is being used to hide technical details within a .php page.

    The problem I am facing is that for some reason, bg.gif reappears at the bottom of the page. If the technical details are expanded, and the bottom of the page is viewed then bg.gif can be seen which ruins the bottom of the page. It almost appears asif there is some kind of height limit on the Table but I cannot find where this would be occurring (in the code).

    The page is located at:
    http://www.audiosave.co.nz/testing/index.php?nav=2

    The page is generated by 3 files:
    header.php
    products.php
    footer.php

    If anyone has any ideas as to what could be wrong, please let me know.
    If you go 'view source' you can see all the code.

    I have tried deleting all the other products on the page to just view the one with the javascript animation and it works perfectly without any bg.gif at the bottom so something in there is placing a height limit on my table.

    Look forward to your response!
    Vincent.

  2. #2
    Join Date
    Oct 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Problem Resolved

    A friend of mine gave me a hand, turns out the bg.gif needed to be applied to the table rather than the whole thing.

    As a result:
    PHP Code:
    </HEAD>
    <
    BODY BGCOLOR=#FFFFFF background="images/bg.gif" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 ONLOAD="preloadImages();">
    <center>
    <
    TABLE WIDTH=635 BORDER=0 CELLPADDING=0 CELLSPACING=0
    was changed to this:
    PHP Code:
    </HEAD>
    <
    BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 ONLOAD="preloadImages();">
    <center>
    <
    table width="100%" background="images/bg.gif">
    <
    td>
    <
    TABLE WIDTH=635 BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center"

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •