akent64 Posted January 22, 2009 Posted January 22, 2009 There seems to be a line below my footer that stops it from going all the way down to the bottom of the page. I have checked the footer.php and there are no <br> or spaces that seem to restrict it from reaching the bottom. The site has been modified so I cant go and just replace files. Please see the footer coding here: </div><div id="footer"> <?php /* $Id: footer.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require(DIR_WS_INCLUDES . 'counter.php'); ?> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <td align="right" class="footer"> Copyright © 2009 ARCKclothing </td> <tr> <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <br> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> </tr> </table> <br> <?php } ?> </div> Please view my work in progress site at: store.arckclothing.com Any advice on how to resolve this issue would be fantastic! Thanks AK
burt Posted January 22, 2009 Posted January 22, 2009 The <br> that you seek is not in the footer. It is in the bottom part of the code of MOST of the otehr php files (index.php, product_info.php etc etc)
akent64 Posted January 22, 2009 Author Posted January 22, 2009 The <br> that you seek is not in the footer.It is in the bottom part of the code of MOST of the otehr php files (index.php, product_info.php etc etc) I got you, thank you, I've edited the index.php and that seems fine, what other files would I need to edit? Thanks for your help
akent64 Posted January 22, 2009 Author Posted January 22, 2009 I have edited the main .php file in my store, should this fix the problem throughout the store?
akent64 Posted January 22, 2009 Author Posted January 22, 2009 I have edited all the main .php files in my store, should this fix the problem throughout the store?
akent64 Posted January 22, 2009 Author Posted January 22, 2009 I have edited all the main .php files in my store, should this fix the problem throughout the store? On http://store.arckclothing.com/shopping_cart.php the footer is still incorrect though? Any ideas? Cheers AK
akent64 Posted January 22, 2009 Author Posted January 22, 2009 This also seems to occur on pages where there is little to no text for example on: http://store.arckclothing.com/shipping.php (One line of text only) http://store.arckclothing.com/privacy.php (One line of text only) The footer seems to rise up instead of staying at the bottom of the page. I don't really want to fill the text will lots of <br>'s underneath the make the footer go down to the bottoms of the page. Is there a piece of code I can edit to make sure this problem does not occur? Thanks AK
akent64 Posted January 23, 2009 Author Posted January 23, 2009 Anyone??? :blink: :blink: Help would be much appreciated!!!
burt Posted January 23, 2009 Posted January 23, 2009 That is how HTML works. If you don't have enough content then the page won't look quite correct. Obviously as you are going to be adding more than 1 line of text at some point in the future, the gap will disappear. As an aside, this clothing store that you are maknig, how are you going to be keeping track of stock - assuming for example you sell the same garment in s,m,l,red,blue,green etc etc
akent64 Posted January 23, 2009 Author Posted January 23, 2009 That is how HTML works. If you don't have enough content then the page won't look quite correct. Obviously as you are going to be adding more than 1 line of text at some point in the future, the gap will disappear. Thanks burt! If some of my pages don't include much content I will probly bulk them out with some return spaces (br's)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.