jww103 Posted March 27, 2007 Posted March 27, 2007 Hi all, i'm having a bit of trouble centralising the header image. Can anyone see whats wrong with my code below in includes/header.php or suggest another solution? <tr class="header"> <td valign "middle" align "center"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'Gardening Essentials') . '</a>'; ?></td> </tr>
bill110 Posted March 27, 2007 Posted March 27, 2007 Try aligning the table like this <table align="center"> <tr class="header"> <td valign "middle" align "center"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'Gardening Essentials') . '</a>'; ?></td> </tr> </table> My Contributions Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly Password Protect Admin "No matter where you go....There you are" - Buccaroo Bonsai
jww103 Posted March 27, 2007 Author Posted March 27, 2007 Try aligning the table like this<table align="center"> <tr class="header"> <td valign "middle" align "center"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'Gardening Essentials') . '</a>'; ?></td> </tr> </table> that did the trick - thanks very much
jasonsluck Posted March 18, 2008 Posted March 18, 2008 that did the trick - thanks very much HEY THATS EXCELLENT! THANKS! There are a few people having the same issue, I will lead them to this post.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.