dirksmith Posted August 10, 2005 Posted August 10, 2005 hi i'm trying to center the information menu (http://www.proper-photography.co.uk) - damn thing won't center - driving me nutz. Grateful for tweak of code below to make this happen. thanx dirk <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } --> </style> <table border="0" width="700" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText" ><table align="center" width="700" border="0" cellpadding="0" spacing="0"> <tr class="footer"><td align="center"> <?php //new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a>' . ' | ' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a>' . ' | ' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a>' . ' | ' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); new infoBox($info_box_contents); ?></td></tr> </table> </div></td> <br> <br> </tr> <tr> <td width="700" class="smallText"><?php require(DIR_WS_BOXES . 'information.php');?> </td> </tr> <tr> <td align="center" class="smallText"><br> <?php echo FOOTER_TEXT_BODY ?> <br> <br> </tr> </table> </div>
gscreations Posted August 10, 2005 Posted August 10, 2005 near the bottom you have: <td width="700" class="smallText"><?php require(DIR_WS_BOXES . 'information.php');?> </td> change to: <td width="700" class="smallText" align="center"><?php require(DIR_WS_BOXES . 'information.php');?> </td>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.