Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Footer problem


Guest

Recommended Posts

Hi, was busy pounding away solving another problem when I noticed this last night.

 

The footer of my site looks different in IE than in Mozilla. I've fiddled around with it some but have no idea how to fix it.

 

http://www.angelic-giftstore.com

 

At this point, I don't even care if it's centered nicely in IE like it is Mozilla, I'd just like to get that gray box to be the same pink color as the rest of my site.

 

Here is my footer code....

 

<?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 (c) 2003 osCommerce

 Released under the GNU General Public License
*/

 require(DIR_WS_INCLUDES . 'counter.php');
?>
<BR><BR>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr class="footer">
<center>
Feel free to call our toll free number at 1-888-824-3872 if you have any questions too. <BR>At this time we only ship in the United States including Hawaii, Alaska and Puerto Rico.<BR> For further information, please check out shipping info on the right side of site at the bottom.<BR><BR><img src="/images/icon_visa.gif"><img src="/images/icon_mastercard.gif"><img src="/images/icon_discover.gif"><img src="/images/icon_amex.gif"><br>Visa, Mastercard, Discover, and American Express Only.</center>

<td class="footer"><td valign="middle"><?php echo tep_image(DIR_WS_IMAGES . 'trailbar.jpg', 'trailbar'); ?></td>
 </tr>
</div>

 

Thank you to anyone who can help me fix this little glitch.

Link to comment
Share on other sites

<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr class="footer">
<center>
Feel free to call our toll free number at 1-888-824-3872 if you have any questions too. <BR>At this time we only ship in the United States including Hawaii, Alaska and Puerto Rico.<BR> For further information, please check out shipping info on the right side of site at the bottom.<BR><BR><img src="/images/icon_visa.gif"><img src="/images/icon_mastercard.gif"><img src="/images/icon_discover.gif"><img src="/images/icon_amex.gif"><br>Visa, Mastercard, Discover, and American Express Only.</center>

<td class="footer"><td valign="middle"><?php echo tep_image(DIR_WS_IMAGES . 'trailbar.jpg', 'trailbar'); ?></td>
 </tr>
</div>

 

Thank you to anyone who can help me fix this little glitch.

 

Your text is not in a <td> and you didn't close your <table>.

 

Should be:

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
<td class="footer" align="center">
Feel free to call our toll free number at 1-888-824-3872 if you have any questions too. <BR>At this time we only ship in the United States including Hawaii, Alaska and Puerto Rico.<BR> For further information, please check out shipping info on the right side of site at the bottom.<BR><BR><img src="/images/icon_visa.gif"><img src="/images/icon_mastercard.gif"><img src="/images/icon_discover.gif"><img src="/images/icon_amex.gif"><br>Visa, Mastercard, Discover, and American Express Only.</td>
</tr>
<tr>
<td valign="middle" align="center" class="footer"><?php echo tep_image(DIR_WS_IMAGES . 'trailbar.jpg', 'trailbar'); ?></td>
 </tr>
</table>

 

Sheri

Link to comment
Share on other sites

Your text is not in a <td> and you didn't close your <table>.

 

Should be:

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
<td class="footer" align="center">
Feel free to call our toll free number at 1-888-824-3872 if you have any questions too. <BR>At this time we only ship in the United States including Hawaii, Alaska and Puerto Rico.<BR> For further information, please check out shipping info on the right side of site at the bottom.<BR><BR><img src="/images/icon_visa.gif"><img src="/images/icon_mastercard.gif"><img src="/images/icon_discover.gif"><img src="/images/icon_amex.gif"><br>Visa, Mastercard, Discover, and American Express Only.</td>
</tr>
<tr>
<td valign="middle" align="center" class="footer"><?php echo tep_image(DIR_WS_IMAGES . 'trailbar.jpg', 'trailbar'); ?></td>
 </tr>
</table>

 

Sheri

 

Thank you very much Sheri. It centered the box but it's still grey on IE. I'll try to add the table color tag again though, didn't work last time but might now? I hope lol. Thank you though, it looks better than it was for sure!

Link to comment
Share on other sites

Your text is not in a <td> and you didn't close your <table>.

 

Should be:

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
<td class="footer" align="center">
Feel free to call our toll free number at 1-888-824-3872 if you have any questions too. <BR>At this time we only ship in the United States including Hawaii, Alaska and Puerto Rico.<BR> For further information, please check out shipping info on the right side of site at the bottom.<BR><BR><img src="/images/icon_visa.gif"><img src="/images/icon_mastercard.gif"><img src="/images/icon_discover.gif"><img src="/images/icon_amex.gif"><br>Visa, Mastercard, Discover, and American Express Only.</td>
</tr>
<tr>
<td valign="middle" align="center" class="footer"><?php echo tep_image(DIR_WS_IMAGES . 'trailbar.jpg', 'trailbar'); ?></td>
 </tr>
</table>

 

Sheri

 

Ah, wrong color in my stylesheet, thank you again! Looks much better than before. :thumbsup:

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...