Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

header image


hiveuk

Recommended Posts

  • 1 month later...

I am having the same problem with centering my graphic in the header.

I have

... <td align="center" valign="center" ...

 

at the beginning but for some reason it doesn't center anymore. Could you tell me what I need to do?

 

Thanks.

 

Jacqueline.

Link to comment
Share on other sites

give this a try were i added the center tags

 

  <td valign="middle"><center><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'OSCommerce') . '</a>'; ?></center></td>

 

 

 

Mark

Link to comment
Share on other sites

I know this may seem easy to some but how do you centre the header image?

Please help

Thank you!!

 

 

if you still have the images on the right (3 links), you need to add a placeholder of a transparent gif the same width before it can center. Or get rid of them as they are repeated in the header bar anyway.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

give this a try were i added the center tags

 

 ?<td valign="middle"><center><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'OSCommerce') . '</a>'; ?></center></td>

Mark

 

Thank you for your help. That worked great.

 

Jacqueline

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...