rustybolt Posted March 28, 2006 Posted March 28, 2006 created a gif to replace the top of the boxes, ive done this fine im trying to use the same gif for the header and footer bars what controls the height of these bars, ive looked in the header / footer.php files but can't see what controls the height anyone help?
crafted4you Posted March 29, 2006 Posted March 29, 2006 The below is what I done with my footer bar. Hopefully it will help. <?php /* $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $ 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="770" cellspacing="0" cellpadding="0" align="center"> <tr class="footer"> <td width="1" align="left" valign="top"><?php echo tep_image(DIR_WS_IMAGES . '/web_template/FooterBottomLeft.gif'); ?></td> <td style="background-image: url('/test2/nfoscomm/catalog/images/web_template/FooterBottomBackground.gif')" width="768" align="right" class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?></td> <td width="1" align="right" valign="top"><?php echo tep_image(DIR_WS_IMAGES . '/web_template/FooterBottomRight.gif'); ?></td> </tr> </table> <br> <table border="0" width="770" cellspacing="0" cellpadding="0" align="center"> <tr> <td align="right" class="smallText">Copyright ? 2005 Crafted4You </td> </tr> </table> <br> <table border="0" width="770" cellspacing="0" cellpadding="0" align="center"> <tr> <td align="center"></td> </tr> </table> The bold area is for the footer bar then you can just add height="76" in to the parts where you want to specify the height. example... <td height="76" width="1" align="left" valign="top"><?php echo tep_image(DIR_WS_IMAGES . '/web_template/FooterBottomLeft.gif'); ?></td> Hopefully this will make sense to you.
rustybolt Posted March 29, 2006 Author Posted March 29, 2006 thanks for the reply, however just tried it and it seemed all over the place, heres my footer file: 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"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"> i'm using shop centre contrib so dont need to define the widths etc, the image im trying to use for the centre is 29px high could anyone use this code above and create the code i need? bit stuck!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.