Results 1 to 7 of 7

Thread: Footer problem

  1. #1
    Join Date
    Feb 2009
    Posts
    159
    Thanks
    60
    Thanked 3 Times in 3 Posts

    Exclamation Footer problem

    Problem: can't get my footer to display correctly,

    Page:http://robinsden.co.cc/free/gasmoney.php

    At first I could not get my footer to go to the bottom, got that solve but now it's only showing half of the footer and cuts the other half off.

    Why on earth is it doing this?
    Computer repairs and Photo editing http://www.robinsden.com

  2. #2
    Join Date
    Feb 2009
    Posts
    303
    Thanks
    18
    Thanked 36 Times in 36 Posts

    Default

    Try putting <div style="clear:both;"></div> right before the end of the Footer... Can't guarantee that it'll work, but it should.

    And make sure that all other DIV tags are closed off...

    // X96 \\
    Alex Blackie, X96 Design
    My Website
    I specialize in: HTML5, CSS3, PHP, Ruby on Rails, MySQL, MongoDB, Linux Server Administration

  3. #3
    Join Date
    Feb 2009
    Posts
    159
    Thanks
    60
    Thanked 3 Times in 3 Posts

    Default

    Quote Originally Posted by X96 Web Design View Post
    Try putting <div style="clear:both;"></div> right before the end of the Footer... Can't guarantee that it'll work, but it should.

    And make sure that all other DIV tags are closed off...

    // X96 \\

    I tried doing that but maybe I did not do it right because it dose not seem to have worked.

    here is how I put it in, did I do something wrong?

    <div style="clear:both;">

    <div id="stickyfooter">

    <!-- Start of StatCounter Code -->
    <div id="leftalign">
    <script type="text/javascript">
    var sc_project=4419983;
    var sc_invisible=0;
    var sc_partition=55;
    var sc_click_stat=1;
    var sc_security="46717204";
    </script>
    <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script><noscript><div class="statcounter"><a title="counters for myspace" class="statcounter" href="http://www.statcounter.com/myspace/"><img class="statcounter" src="http://c.statcounter.com/4419983/0/46717204/0/" alt="counters for myspace" /></a></div></noscript>
    </div>
    <!-- End of StatCounter Code -->
    <div id="bgfooter">
    <script type="text/javascript" src="../Scripts/footer.js"></script>
    <!--Footer Ends Here-->
    </div></div></div></div>
    Computer repairs and Photo editing http://www.robinsden.com

  4. #4
    Join Date
    Feb 2009
    Posts
    303
    Thanks
    18
    Thanked 36 Times in 36 Posts

    Default

    No, it's just the tag itself, nothing inside, like this:
    Code:
    <div id="stickyfooter">
    
    <!-- Start of StatCounter Code -->
    <div id="leftalign">
    <script type="text/javascript">
    var sc_project=4419983;
    var sc_invisible=0;
    var sc_partition=55;
    var sc_click_stat=1;
    var sc_security="46717204";
    </script>
    <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script><noscript><div class="statcounter"><a title="counters for myspace" class="statcounter" href="http://www.statcounter.com/myspace/"><img class="statcounter" src="http://c.statcounter.com/4419983/0/46717204/0/" alt="counters for myspace" /></a></div></noscript>
    </div>
    <!-- End of StatCounter Code -->
    <div id="bgfooter">
    <script type="text/javascript" src="../Scripts/footer.js"></script>
    <div style="clear:both"></div>
    <!--Footer Ends Here-->
    </div></div></div>
    Hope this helps...

    // X97-1 \\
    Alex Blackie, X96 Design
    My Website
    I specialize in: HTML5, CSS3, PHP, Ruby on Rails, MySQL, MongoDB, Linux Server Administration

  5. #5
    Join Date
    Feb 2009
    Posts
    159
    Thanks
    60
    Thanked 3 Times in 3 Posts

    Default

    Quote Originally Posted by X96 Web Design View Post
    No, it's just the tag itself, nothing inside, like this:
    Code:
    <div id="stickyfooter">
    
    <!-- Start of StatCounter Code -->
    <div id="leftalign">
    <script type="text/javascript">
    var sc_project=4419983;
    var sc_invisible=0;
    var sc_partition=55;
    var sc_click_stat=1;
    var sc_security="46717204";
    </script>
    <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script><noscript><div class="statcounter"><a title="counters for myspace" class="statcounter" href="http://www.statcounter.com/myspace/"><img class="statcounter" src="http://c.statcounter.com/4419983/0/46717204/0/" alt="counters for myspace" /></a></div></noscript>
    </div>
    <!-- End of StatCounter Code -->
    <div id="bgfooter">
    <script type="text/javascript" src="../Scripts/footer.js"></script>
    <div style="clear:both"></div>
    <!--Footer Ends Here-->
    </div></div></div>
    Hope this helps...

    // X97-1 \\
    Tried it and my page is now just like the example you gave me but still it's not going, did I do something wrong?
    Computer repairs and Photo editing http://www.robinsden.com

  6. #6
    Join Date
    Feb 2009
    Posts
    303
    Thanks
    18
    Thanked 36 Times in 36 Posts

    Default

    No, it probably just didn't work... I thought something may be floating left and keeping it from going full-width...

    What's different about that page than the homepage? The footer works on the homepage...

    // X96 \\
    Alex Blackie, X96 Design
    My Website
    I specialize in: HTML5, CSS3, PHP, Ruby on Rails, MySQL, MongoDB, Linux Server Administration

  7. #7
    Join Date
    Feb 2009
    Posts
    159
    Thanks
    60
    Thanked 3 Times in 3 Posts

    Default

    As you will notice on my home page it dose work however it dose not go to the bottom of the page, thus the problem I started with.
    Computer repairs and Photo editing http://www.robinsden.com

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
  •