adam71o Posted January 17, 2005 Posted January 17, 2005 I can't seem to get rid of the white block at the very bottom.... of my oscommerce site. Heres the last part of my footer.php... <table border="0" bgcolor="#516d8d" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> </tr> </table> <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> <table border="0" bgcolor="#516d8d" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><br><?php echo tep_display_banner('static', $banner); ?></td> </tr> <tr> <td bgcolor="#516d8d" align="center" class="footer"> <br><?php echo FOOTER_TEXT_BODY ?> </td> </tr> </table> <?php } ?>
Guest Posted January 18, 2005 Posted January 18, 2005 Aww, no takers? <{POST_SNAPBACK}> You've got an unnecessary "<br>" in the code (not the footer code) at the bottom of the page after the end of the footer. Find this in your index (at the end): <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> Change it to this: <!-- footer_eof //--> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
adam71o Posted January 18, 2005 Author Posted January 18, 2005 So in index.php? I'm looking now......
Guest Posted January 18, 2005 Posted January 18, 2005 So in index.php? I'm looking now...... <{POST_SNAPBACK}> In catalog/index.php (I tried to add that but you beat me to it).
adam71o Posted January 18, 2005 Author Posted January 18, 2005 You were absolutely right, I went back and changed half of my files by deleting the extra <br> Thanks a lot!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.