ajmartin Posted November 29, 2002 Posted November 29, 2002 I have the following code, after looking through the forums, it seems that most background image problems are related to the css. But as you can see I have no css classes defined where I am trying to have a background image,.... can someone tell me why this is not working... <table width="750" border="0" align="center" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td height="93" colspan="2" valign="bottom"><?php echo tep_image(DIR_WS_IMAGES . 'Logo.gif', 'Lanocreme.com'); ?></td> <td width="383" rowspan="2" valign="top"><?php echo tep_image(DIR_WS_IMAGES . 'header_top.gif',''); ?></td> <td width="115" valign="top"><?php echo tep_image(DIR_WS_IMAGES . 'Prince_1.gif',''); ?></td> </tr> <tr> <td height="19" colspan="2" valign="bottom"><?php echo tep_image_header('header_menu_shoppingbag.gif', HEADER_TITLE_SHOPPING_BAG); echo tep_image_header('header_menu_checkout.gif', HEADER_TITLE_CHECKOUT); echo tep_image_header('header_menu_my_account.gif', HEADER_TITLE_MY_ACCOUNT); if (tep_session_is_registered('customer_id')) { echo tep_image_header('header_menu_logoff.gif', HEADER_TITLE_LOGOFF); } else { echo tep_image_header('header_menu_logon.gif', HEADER_TITLE_LOGON); }?></td> <td valign="top"><?php echo tep_image(DIR_WS_IMAGES . 'Prince_2.gif',''); ?></td> </tr> <tr> <td width="112" height="21" valign="top" background="../images/header_menu_cart_bg.gif"><?php //echo tep_image(DIR_WS_IMAGES . 'header_menu_cart_bg.gif',''); ?></td> <td colspan="3" valign="top"><?php echo tep_image(DIR_WS_IMAGES . 'header_divider.gif',''); ?></td> </tr> <tr> <td height="1"></td> <td width="140"></td> <td></td> <td></td> </tr> </table> the exact line is,.... <td width="112" height="21" valign="top" background="../images/header_menu_cart_bg.gif"><?php //echo tep_image(DIR_WS_IMAGES . 'header_menu_cart_bg.gif',''); ?></td> please, I don't understand why this should not work... if it is css then what should I be changing? Regards Adam Martin
Recommended Posts
Archived
This topic is now archived and is closed to further replies.