Guest Posted September 2, 2006 Posted September 2, 2006 I've changed the header.php but my header logo will not move. Any ideas? Edward
marty_mcfly Posted September 2, 2006 Posted September 2, 2006 I've changed the header.php but my header logo will not move. Any ideas? Edward Can you post the code you have for the logo? Basically if you have align="center" in the TD tag, it should centre it. Martin
Guest Posted September 2, 2006 Posted September 2, 2006 here's the code.... It looks ok to me but logo still not centered Edward <tr class="header"> <td valign="center"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'mysite.jpg', 'mysite') . '</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>
marty_mcfly Posted September 2, 2006 Posted September 2, 2006 Hi Edward, You have valign="center". You also need align="center" as the valign is vertical alignment in the cell and align is horizontal. Martin
Guest Posted September 2, 2006 Posted September 2, 2006 Well smack me with a stick and call me skippy. It's the little things that really get ya. Thanks
♥Monika in Germany Posted September 3, 2006 Posted September 3, 2006 just for a next time valign="center" doesn't exist ... it's valign="middle" pretty sure you know though and it was only a typo to start with in your post above ... :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
marty_mcfly Posted September 3, 2006 Posted September 3, 2006 just for a next time valign="center" doesn't exist ... it's valign="middle" pretty sure you know though and it was only a typo to start with in your post above ... Yes, copy and paste can be good AND bad!!! Thanks.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.