Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

formatting question


lildog

Recommended Posts

When I insert this code into my product_info.php code I get a page of whitespace below my copyright? Anyone know why and what to to with it?

 

BTW, this adds a printer friendly page to products pages.

 

<td class="main" align="center"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_PRINT, tep_get_all_get_params()) . '" target="_blank">' . tep_image_button('button_printer_friendly.gif', IMAGE_BUTTON_PRINTER_FRIENDLY) . '</a>'; ?></td>

 

 

Thank you,

 

Todd

Link to comment
Share on other sites

in order to answer this, we would need to know where this table cell is being placed. Is it at the bottom of the page? are you sure that you're placing it inside the correct table row?

 

Where on the product_info page do you want this button to be displayed?

Link to comment
Share on other sites

oop....sorry bout that. Working to fix all the loose ends up and.....well you know.

 

I am placing this button between the add to cart button and the reviews button near the bottom of the page.

 

That portion of the code is unedited. The button displays in the correct postion it just adds an entire screen of whitespace with nothing at all ,except my background color, underneath the copyright info.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...