Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Footer shifts alignment on productinfo pages only


marmee

Recommended Posts

Hello all

 

I posted this yesterday but it seems to have fallen 7 pages back and I put a typo in the title, so I'll just pop it in again if you dont mind.

 

I'm just about ready to go live with my shop but the footer keeps aligning left on my product info pages. Its correct on all others. It also seems to miss the stylesheet instructions for the copyright text.

 

I'm just at a loss as to why it only does it on product info pages, given that its stilled called as an include. The only thing I can think is that by modifying the stylesheet for product info text it has gone a bit silly in response - but i didnt do anything untoward with the stylesheet!

 

Any tips you could give would be greatly appreciated

 

http://www.babycheeks.com.au - correct footer alignment

http://www.babycheeks.com.au/product_info....;products_id=35 - rotten left footer alignment

 

If you need to see any code segments just let me know. Honestly, I'll flash more than my code to get some help right now.

Link to comment
Share on other sites

It's a minor adjustment to your /includes/footer.php file.

 

Please copy/paste the contents of that file into your next post.

 

I looked at the site using Firefox with this HTML page editor add-on where I can view and edit the HTML source "on the fly".

 

All I had to do was make minor changes in two lines, and move one of the lines, and it looks good.

;)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Thank you thank you thank you!

 

It's a minor adjustment to your /includes/footer.php file.

 

Please copy/paste the contents of that file into your next post.

 

<?php
require(DIR_WS_INCLUDES . 'counter.php');
?>



    </td></tr>  
   </table>
  </td></tr>
  <tr><td height=2></td></tr>
  <tr><td valign=top>
   <table cellspacing=0 cellpadding=0>
    <tr><td background=images/footer_1.jpg width=249 height=48><img src=images/pp.gif width=206 height=35></td>
    <td width=498 background=images/footer_2.jpg height=48 align=center class=ml4> <a href=<?=tep_href_link('specials.php')?> class=ml4>Specials</a>     ::     <a href=<?=tep_href_link('advanced_search.php')?> class=ml4>Site Search</a>     ::     <a href=<?=tep_href_link('contact_us.php')?> class=ml4>Contact Us</a>      ::     <a href=<?=tep_href_link('account.php')?> class=ml4>Create an account</a>      ::     <a href=<?=tep_href_link('login.php')?> class=ml4>Customer Login</a></td>
    </tr>
   </table>
   </td></tr>
   <tr><td height=11></td></tr>
  <tr><td class=ch11>   Copyright © 2007 BabyCheeks</td></tr>
  <tr><td height=12></td></tr>
 </table>








<?php
 if ($banner = tep_banner_exists('dynamic', '468x50')) {
?>


<br>
<?php
 }
?>

 

 

 

I looked at the site using Firefox with this HTML page editor add-on where I can view and edit the HTML source "on the fly".

 

All I had to do was make minor changes in two lines, and move one of the lines, and it looks good.

;)

Link to comment
Share on other sites

Change this line:

 

	<table cellspacing=0 cellpadding=0>

to:

 

	<table align="center" cellpadding="0" cellspacing="0">

Alter the order of these lines:

 

	 </tr> 
  </table>
</td></tr>
<tr><td height=11></td></tr>
  <tr><td class=ch11>   Copyright © 2007 BabyCheeks</td></tr>

to:

 

	 </tr> 
  <tr><td class=ch11>   Copyright © 2007 BabyCheeks</td></tr>
  </table>
</td></tr>
<tr><td height=11></td></tr>

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Glad it worked for you, Ma'am.

:blush:

 

The HTML in the file you posted was slightly different than I expected.

 

And all you had to flash was a little code.....

;)

 

:lol:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...