pinbrook Posted July 2, 2004 Posted July 2, 2004 I'd like to change the design of my site so that it is contained within a 100% table to fit on all screen resolutions. Thus I need to split my header banner into 2. This is the code that displays the banner <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'sslogo.gif', 'satin and spice') . '</a>'; ?></td> I'm not sure how to split this cell into 2 columns 50% and place each image in each column in the centre
markmca Posted July 2, 2004 Posted July 2, 2004 Hope this helps <td valign="middle"> <table width=100% cellspacing="0" cellpadding="0"> <tr> <td width="50%" align="center">><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'sslogo1.gif', 'satin and spice') . '</a>'; ?></td> <td width="50%" align="center"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'sslogo2.gif', 'satin and spice') . '</a>'; ?></td> </tr></table> </td> just replace the code which u gave with this
Recommended Posts
Archived
This topic is now archived and is closed to further replies.