Guest Posted April 13, 2005 Share Posted April 13, 2005 Hi all! Im working on a site that neds to have the sites overall nav bar in the left column. So in column_left.php Ive put the following code to call on the nav bar. (this is all the code that now makes up this file.) Problem is, that because no width has been set, its overlaping into the centre column. What do I need to add to the code to get that left column set at a width that will push the centre column over into the remaining space? you can see whats happening at grannyjens.com <?php /* $Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ ?> <!-- information //--> <tr> <td> <?php $info_box_contents = array(); include 'nav_bar.htm'; ?> </td> </tr> <!-- information_eof //--> Link to comment Share on other sites More sharing options...
dandelion Posted April 13, 2005 Share Posted April 13, 2005 Hi all! Im working on a site that neds to have the sites overall nav bar in the left column. So in column_left.php Ive put the following code to call on the nav bar. (this is all the code that now makes up this file.) Problem is, that because no width has been set, its overlaping into the centre column. What do I need to add to the code to get that left column set at a width that will push the centre column over into the remaining space? you can see whats happening at grannyjens.com <?php /* ?$Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $ ?osCommerce, Open Source E-Commerce Solutions ?http://www.oscommerce.com ?Copyright (c) 2003 osCommerce ?Released under the GNU General Public License */ ?> <!-- information //--> ? ? ? ? ?<tr> ? ? ? ? ? ?<td> <?php ?$info_box_contents = array(); include 'nav_bar.htm'; ?> ? ? ? ? ? ?</td> ? ? ? ? ?</tr> <!-- information_eof //--> <{POST_SNAPBACK}> In the catalog/includes/application_top.php file the default is 125 mine is set at 160 // customization for the design layout define('BOX_WIDTH', 160); // how wide the boxes should be in pixels (default: 125) I'm not sure what you've done to have it overlap though??????????? My Webpage Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.