jmarks47 Posted September 26, 2006 Posted September 26, 2006 i want to add an HTML header table to my header.php here is the header.php code: <table border="0" width="750" cellspacing="0" cellpadding="0" align=center> <tr class="header"> <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'kutichan.jpg', 'Kutichan') . '</a>'; ?></td> <td align="right" valign="bottom"> </td> </tr> </table> and here is the HTML table I want to add in place of 'kutichan.jpg : <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="84%" id="AutoNumber1"> <tr> <td width="25%"> <img border="0" src="http://fiddle-faddler.com/catalog/images/header_kutican.gif" width="432" height="210"></td> <td width="22%"> <img border="0" src="http://fiddle-faddler.com/catalog/images/header_whatis.gif" width="121" height="210"></td> <td width="23%"> <img border="0" src="http://fiddle-faddler.com/catalog/images/header_indexreviews.gif" width="120" height="210"></td> <td width="30%"> <img border="0" src="http://fiddle-faddler.com/catalog/images/header_contactus.gif" width="77" height="210"></td> </tr> </table> any advice on how to combine the two?
Brooke Posted September 26, 2006 Posted September 26, 2006 just replace this <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'kutichan.jpg', 'Kutichan') . '</a>'; ?> with your table. make a backup of your header first. What? Yeah, I can do that.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.