Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

why cannot work?


cicciopasticcio

Recommended Posts

Posted

Change

 

<td background = <?php echo tep_image(DIR_WS_IMAGES . 'sx_center.jpg'); ?> </td>

 

To

 

<td background = "<?php echo tep_image(DIR_WS_IMAGES . 'sx_center.jpg'); ?>" </td>

Posted

this:

<td background = "<?php echo tep_image(DIR_WS_IMAGES . 'dx_center.jpg'); ?>" </td>

 

should be:

<td background = "<?php echo tep_image(DIR_WS_IMAGES . 'dx_center.jpg'); ?>"> </td>

 

 

 

However, thats not the best way to do it as it doesn't meet with web standards (your probably not bothered).

 

It should be like this....

<td class="myclass"></td>

 

Then have this in your stylesheet.css file:

.myclass { background-image: url(images/dx_center.jpg); }

Posted
this:

<td background = "<?php echo tep_image(DIR_WS_IMAGES . 'dx_center.jpg'); ?>" </td>

 

should be:

<td background = "<?php echo tep_image(DIR_WS_IMAGES . 'dx_center.jpg'); ?>"> </td>

However, thats not the best way to do it as it doesn't meet with web standards (your probably not bothered).

 

It should be like this....

<td class="myclass"></td>

 

Then have this in your stylesheet.css file:

.myclass { background-image: url(images/dx_center.jpg); }

 

hi, ok ok thanks but is more easy this way:

<td background = "images/dx_center.jpg" </td>

thanks again

Antonio.

Archived

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

×
×
  • Create New...