bobeisenberg Posted October 4, 2005 Posted October 4, 2005 I am new to web design, and for my first task I am designing a website for my wife's business. I have edited the includes/header.php file to place my logo at the top of the page instead of the osCommerce logo. However, I cannot get the cell in the table to display the logo on the right - it defaults to the left. I have edited the following part by replacing osCommerce.gif with my logo, oakleafjewellery.gif, but everything else is unchanged: <table align="center" border="10" width="100%" cellspacing="10" cellpadding="10"> <tr class="header"> <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oakleafjewellery.gif', 'Oakleaf Jewellery') . '</a>'; ?></td> <td align="center" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image (DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>??<a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>??<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>??</td> </tr> </table> I am sure that I have overlooked something extremely obvious, but I would be grateful for any suggestions. Thanks. Bob.
Guest Posted October 5, 2005 Posted October 5, 2005 <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oakleafjewellery.gif', 'Oakleaf Jewellery') . '</a>'; ?></td> Change "middle" to "right"
bobeisenberg Posted October 15, 2005 Author Posted October 15, 2005 <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oakleafjewellery.gif', 'Oakleaf Jewellery') . '</a>'; ?></td>Change "middle" to "right" Thank you!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.