See my HTML at bottom of this site

Discussion in 'HTML & Website Design' started by dinrock, Sep 29, 2009.

  1. #1
    Visit this page to understand.
    And you'll see all the white space on right side of page. I am currently in EDIT mode via Cpanel access for this particular page and am asking if anyone can recommend what I need to delete or add in the HTML at bottom , so all of it is centered and legible? Any assistance is appreciated.
     
    dinrock, Sep 29, 2009 IP
  2. ErikTheRed

    ErikTheRed Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You need to move your footer outside of your main content content container.

    You need to post your html code and CSS for people to really be able to help you though.
     
    ErikTheRed, Sep 29, 2009 IP
  3. dinrock

    dinrock Well-Known Member

    Messages:
    1,150
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    128
    #3
    Thanks Erik:
    See this code at bottom of that page:

    onseGroup=Images,ItemAttributes,OfferFull,Medium,VariationSummary) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
    in <b>/home/insectic/public_html/includes/amazon.php</b> on line <b>846</b><br />
    <table border="0" cellspacing="0" cellpadding="0" width="160"><tr><br />
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/insectic/public_html/includes/amazon.php</b> on line <b>868</b><br />
    <td></td></tr></table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr><td><center><a href="http://www.TheGardenGuy.org">The Garden Guy</a>An organic gardening resourse with
    inforative articles, ongoing garden journal and interactive message boards
    featuring "Garden Talk"</td></center></tr>


    <tr>
    <td height="40" colspan="2" class="copyright">Copyright 2009 All Rights Reserved. :: <a href="/privacy-policy.html">Privacy Policy</a> :: <a href="http://www.creditcards.com.au">Credit Card</a>
    <a href="http://www.flyinginsect.com">FlyingInsect.com – Effective Pesticide-Free Pest Control Products and Information</a>
    <a href="http://www.organicliving.ukf.net">UK Organic Directory - Organic food, wine and lifestyle resources</a>
    <a href="http://www.nfrdf.com.pk/">Organic Farming</a>
    </td>
    </tr>
    <tr>
    <td colspan="4" valign="top" bgcolor="#CDD0BB"><img src="./images/index_27.jpg" width="758" height="8" alt="bottom bar"></td>
    </tr>
    </table>
    </body>
    </html>


    And what I wonder is if there is a line of code I need to add to the above HTML? I.e., how do I move my footer outside of my main content container?
     
    dinrock, Sep 29, 2009 IP
  4. ErikTheRed

    ErikTheRed Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Oh gee sorry, I had a brain fart. I saw your the link to your site, clicked it, but I guess it didn't register in my brain when I made my post. It's been a long day, my bad.

    Ok. Have a look at the little bit of code modifications I made to the bottom of your page and compare it with what you have now. You will see that I simply moved your footer to its own table separate from the main table.

          <tr><td class="menu"><a href="http://www.insecticidecontrol.info/natural-vegetable-insecticide.php">Natural vegetable insecticide</a></td></tr>
    <tr><td class="menu"><a href="http://www.insecticidecontrol.info/miraculous-insecticide-chalk.php">Miraculous insecticide chalk</a></td></tr>
    <tr><td class="menu"><a href="http://www.insecticidecontrol.info/how-do-insecticides-work.php">How do insecticides work</a></td></tr>
    <tr><td class="menu"><a href="http://www.insecticidecontrol.info/kill-indoor-gnats.php">Kill indoor gnats</a></td></tr>
    <tr><td class="menu"><a href="http://www.insecticidecontrol.info/homemade-insecticide-for-marijuana.php">Homemade insecticide for marijuana</a></td></tr>
    <tr><td class="menu"><a href="http://www.insecticidecontrol.info/beer-as-insecticide.php">Beer as insecticide</a></td></tr>
    <tr><td class="menu"><a href="http://www.insecticidecontrol.info/natural-bug-sprays.php">Natural bug sprays</a></td></tr>
    <tr><td class="menu"><a href="http://www.insecticidecontrol.info/natural-insecticide-for-aphids.php">Natural insecticide for aphids</a></td></tr>
    <tr><td class="menu"><a href="http://www.insecticidecontrol.info/insecticide-spiders.php">Insecticide spiders</a></td></tr>
    <tr><td class="menu"><a href="http://www.insecticidecontrol.info/investigatory-report.php">Investigatory report</a></td></tr>
    <tr><td class="menu"><a href="http://www.insecticidecontrol.info/insecticide-toxic.php">Insecticide toxic</a></td></tr>
    <tr><td class="menu"><a href="http://www.insecticidecontrol.info/biology-investigatory-project.php">Biology investigatory project</a></td></tr>
    <tr><td class="menu"><a href="http://www.insecticidecontrol.info/aphids-on-tomato-plants.php">Aphids on tomato plants</a></td></tr>
    <tr><td class="menu"><a href="http://www.insecticidecontrol.info/environmentally-safe-insecticides.php">Environmentally safe insecticides</a></td></tr>
    <tr><td class="menu"><a href="http://www.insecticidecontrol.info/natural-insecticide-spider.php">Natural insecticide spider</a></td></tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td class="menuTitle">More Resources</td>
          </tr>
          <tr>
            <td><br>
    <table width="160" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td></td></tr></tbody></table>
    </td>
          </tr>
          </tbody></table>
        </td>
      </tr>
    </tbody></table>
    
    
    <table width="758" align="center" border="0" cellpadding="0" cellspacing="0">
      <tbody>
    <tr><td><center><a href="http://www.thegardenguy.org/">The Garden Guy</a>An organic gardening resourse with
    inforative articles, ongoing garden journal and interactive message boards
    featuring "Garden Talk"</center></td></tr>
    
      <tr>
        <td colspan="2" class="copyright" height="40">Copyright 2009 All Rights Reserved. :: <a href="http://www.insecticidecontrol.info/privacy-policy.html">Privacy Policy</a> :: <a href="http://www.creditcards.com.au/">Credit Card</a>
    <a href="http://www.flyinginsect.com/">FlyingInsect.com � Effective Pesticide-Free Pest Control Products and Information</a>
    <a href="http://www.organicliving.ukf.net/">UK Organic Directory - Organic food, wine and lifestyle resources</a>
    <a href="http://www.nfrdf.com.pk/">Organic Farming</a>
               </td>
      </tr>
      <tr>
        <td colspan="4" valign="top" bgcolor="#cdd0bb"><img src="Information%20about%20Natural%20Insecticide_files/index_27.jpg" alt="bottom bar" height="8" width="758"></td>
      </tr></tbody>
    </table>
    
    </body></html>
    HTML:
    This should align with no problems now, but that nasty amazon api error you are getting in your sidebar is going still going to throw everything off. Maybe you can remove that buggy code while you fix up your html? It will make things easier. Once you have everything aligned the way you want, put your Amazon code back in.

    Hope it helps,
    Erik
     
    ErikTheRed, Sep 29, 2009 IP
  5. sd1

    sd1 Peon

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You site says "server not found". Is your site down or are you currently working on it?
     
    sd1, Sep 30, 2009 IP