Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

setting the width and height of Logo


Helaman

Recommended Posts

I had seen a way to set the height and width of the logo in the header.php file and now I can't find it.

 

I have tried the old html width="200" and height="20"

but that doesn't work.

 

I know it works differently for the php file

 

<td align="center" valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'logo1.jpg','Dragon Jewelry') . '</a>'; ?></td>

 

does anyone know how to code in the height and width in the above line

 

Thanks

 

Helaman

Link to comment
Share on other sites

Just in case anyone wants to know how to do it

 

<td align="center" valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'logo1.jpg','Dragon Jewelry','360x50') . '</a>'; ?></td>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...