vince2k2 Posted October 11, 2005 Posted October 11, 2005 i change the banner on my ship but i want the image in the center, hos do i do that i tryed this <table border="0" width="100%" 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 . 'banner.jpg', 'Console Place') . '</a>'; ?></td> <td align="right" valign="bottom"></td> </tr> </table> (taken from the header.php) in red which i thought would make it goto the center but still nothing any ideas
Guest Posted October 11, 2005 Posted October 11, 2005 i change the banner on my ship but i want the image in the center, hos do i do that i tryed this<table border="0" width="100%" 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 . 'banner.jpg', 'Console Place') . '</a>'; ?></td> <td align="right" valign="bottom"></td> </tr> </table> (taken from the header.php) in red which i thought would make it goto the center but still nothing any ideas You can try this, <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle" ><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'banner.jpg', 'Console Place') . '</a>'; ?></td> <td align="center" valign="bottom"></td> </tr> </table> If that does work please provide more info on what page you are adding this. Greets Bert
vince2k2 Posted October 11, 2005 Author Posted October 11, 2005 still doesnt work the image is still on the left handside
Guest Posted October 11, 2005 Posted October 11, 2005 still doesnt work the image is still on the left handside On what page do you want the image centered ?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.