Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

using an image for a table background


skarra

Recommended Posts

just wondering if anybody can help by telling me how to use an image as a table background. A have been trying to use this method in the header.php.

 

<table border="0" width="100%" cellspacing="0" cellpadding="0" background="<?php echo tep_image(DIR_WS_IMAGES . 'topslice2.jpg'); ?>">

 <tr>

   <td  rowspan="2" valign="middle"><?php echo tep_image(DIR_WS_IMAGES . 'mmtopleft2.jpg', 'Marijuana Moisture is located in Byron Bay New South Wales Australia'); ?></td>

 

Dave

Link to comment
Share on other sites

Have your tried hardcoding it:

 

<table border="0" background="path/to/whatever.gif"> ??

 

might be because tep_image() adds width & hegith="nnn" etc

 

HTH,

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...