rayjuan Posted May 19, 2010 Posted May 19, 2010 Hi all, Appreciate your kind advice on the following, as you can see in the picture below, i have no idea why the spacing for my payments & warranty and FAQ text links are seperated so far away from the rest of the links. May i know how do i set my alignment settings right? i have also pasted my information.php code below for your reference. can some kind soul please help.. <?php /* $Id: information.php,v 1.6 2002/11/22 18:56:08 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ ?> <!-- information //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<ul class="information"> <li class="bg_list_un"><a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a></li>' . '<a class="ibox" href="instructions.php">How To?</a><br>' . '<a class="ibox" href="payments.php">Payments & Warranty</a><br>' . '<a class="ibox" href="corporate.php">FAQs</a><br>' . '<li class="bg_list"><a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a></li>' . '<li class="bg_list"><a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a></li>' . '</ul>'); new infoBox($info_box_contents); ?> </td> </tr> <!-- information_eof //-->
puddlec Posted May 19, 2010 Posted May 19, 2010 Hi all, Appreciate your kind advice on the following, as you can see in the picture below, i have no idea why the spacing for my payments & warranty and FAQ text links are seperated so far away from the rest of the links. May i know how do i set my alignment settings right? i have also pasted my information.php code below for your reference. can some kind soul please help.. <?php /* $Id: information.php,v 1.6 2002/11/22 18:56:08 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ ?> <!-- information //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<ul class="information"> <li class="bg_list_un"><a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a></li>' . '<a class="ibox" href="instructions.php">How To?</a><br>' . '<a class="ibox" href="payments.php">Payments & Warranty</a><br>' . '<a class="ibox" href="corporate.php">FAQs</a><br>' . '<li class="bg_list"><a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a></li>' . '<li class="bg_list"><a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a></li>' . '</ul>'); new infoBox($info_box_contents); ?> </td> </tr> <!-- information_eof //--> well the howto, payments & warranty and FAQ are using different code to the rest '<a class="ibox" href="instructions.php">How To?</a><br>' . compaired to '<li class="bg_list_un"><a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a></li>' . so change '<a class="ibox" href="instructions.php">How To?</a><br>' . to '<li class="bg_list_un"><a href="instructions.php">How To?</a></li>' . and do the same for payments & warranty and FAQ also you got <li class="bg_list_un"> <li class="bg_list"> inbetween the above code. Phoenix support now at https://phoenixcart.org/forum/ App created for phoenixTinyMCE editor for admin
rayjuan Posted May 19, 2010 Author Posted May 19, 2010 thanks puddlec ! great information! i got it rectified by another way. just by removing the <br> for each coding. is this method safe?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.