cicciopasticcio Posted April 3, 2007 Posted April 3, 2007 <td background = <?php echo tep_image(DIR_WS_IMAGES . 'sx_center.jpg'); ?> </td> Hoping someone can give me a hand with this. thanks Antonio.
Guest Posted April 3, 2007 Posted April 3, 2007 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>
cicciopasticcio Posted April 3, 2007 Author Posted April 3, 2007 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> thanks for your help but still not work.... :'( take a look..... http://www.all-cover-shop.com/shop/catalog/index.php
cicciopasticcio Posted April 4, 2007 Author Posted April 4, 2007 Hi to all I have still the same problem.... I think is very easy to resolve.... but I cant able.... <td background = "<?php echo tep_image(DIR_WS_IMAGES . 'dx_center.jpg'); ?>" </td> http://www.all-cover-shop.com/shop/catalog/index.php thanks antonio.
xdam Posted April 4, 2007 Posted April 4, 2007 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); }
cicciopasticcio Posted April 4, 2007 Author Posted April 4, 2007 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.