kywee Posted March 5, 2007 Share Posted March 5, 2007 Hi, I am trying to bridge the gap of whitespace between my header and custom info box the left of www.ripbalm.com but cannot find the code in which to edit to do so. I am trying to make the left navigation box flush with the splash page on the main /index.php I think it is a combination of the pixel_trans.gif, but I looked in my header.php and did not find any pixel_trans.gif code. I also set the cellpadding in header.php to 0 but that did nothing. <?php if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerError"> <td class="headerError"><?php echo htmlspecialchars(urldecode($HTTP_GET_VARS['error_message'])); ?></td> </tr> </table> <?php } if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerInfo"> <td class="headerInfo"><?php echo htmlspecialchars($HTTP_GET_VARS['info_message']); ?></td> </tr> </table> Any help would be greately appreciated. Thanks! Link to comment Share on other sites More sharing options...
Nullachtfuffzehn Posted March 5, 2007 Share Posted March 5, 2007 Hi, I am trying to bridge the gap of whitespace between my header and custom info box the left of www.ripbalm.com but cannot find the code in which to edit to do so. I am trying to make the left navigation box flush with the splash page on the main /index.php I think it is a combination of the pixel_trans.gif, but I looked in my header.php and did not find any pixel_trans.gif code. I also set the cellpadding in header.php to 0 but that did nothing. <?php if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerError"> <td class="headerError"><?php echo htmlspecialchars(urldecode($HTTP_GET_VARS['error_message'])); ?></td> </tr> </table> <?php } if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerInfo"> <td class="headerInfo"><?php echo htmlspecialchars($HTTP_GET_VARS['info_message']); ?></td> </tr> </table> Any help would be greately appreciated. Thanks! The settings you're talking about are related to the class box in /includes/boxes/box.php. to change them you need to make a new class or a child of the class box and add the values to the stylesheet.css. Link to comment Share on other sites More sharing options...
kywee Posted March 19, 2007 Author Share Posted March 19, 2007 The settings you're talking about are related to the class box in /includes/boxes/box.php. to change them you need to make a new class or a child of the class box and add the values to the stylesheet.css. I don't have a box.php in my boxes folder. What style would I add? Link to comment Share on other sites More sharing options...
Bushmaster Posted March 19, 2007 Share Posted March 19, 2007 Hi, I am trying to bridge the gap of whitespace between my header and custom info box the left of www.ripbalm.com but cannot find the code in which to edit to do so. I am trying to make the left navigation box flush with the splash page on the main /index.php I think it is a combination of the pixel_trans.gif, but I looked in my header.php and did not find any pixel_trans.gif code. I also set the cellpadding in header.php to 0 but that did nothing. <?php if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerError"> <td class="headerError"><?php echo htmlspecialchars(urldecode($HTTP_GET_VARS['error_message'])); ?></td> </tr> </table> <?php } if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerInfo"> <td class="headerInfo"><?php echo htmlspecialchars($HTTP_GET_VARS['info_message']); ?></td> </tr> </table> Any help would be greately appreciated. Thanks! In the fill that you have that sets your box contents. You need to remove the first pixel_trans.gif code. you had the right idea just the wrong file. Here is the source of your page with the line you need to remove in RED. Its not the whole source of the page just after the body tag. Should be your column_left.php <!-- body //--><!-- Change spacing and padding for main text table borders --> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="150" valign="top"><table border="0" width="150" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <!-- information //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText"><table id="Table_01" width="136" height="288" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <a href="http://ripbalm.com/index.php?cPath=21"><img src="images/left_nav_01.gif" width="136" height="42" alt="" border="0"></a></td> </tr> <tr> <td> <a href="http://ripbalm.com/index.php?cPath=22"><img src="images/left_nav_02.gif" width="136" height="29" alt="" border="0"></a></td> </tr> <tr> <td> <a href="http://ripbalm.com/index.php?cPath=30"><img src="images/left_nav_03.gif" width="136" height="28" alt="" border="0"></a></td> </tr> <tr> <td> <a href="http://ripbalm.com/index.php?cPath=24"><img src="images/left_nav_04.gif" width="136" height="29" alt="" border="0"></a></td> </tr> <tr> <td> <a href="http://ripbalm.com/index.php?cPath=28"><img src="images/left_nav_05.gif" width="136" height="29" alt="" border="0"></a></td> </tr> <tr> <td> <a href="http://ripbalm.com/index.php?cPath=32"><img src="images/left_nav_06.gif" width="136" height="29" alt="" border="0"></a></td> </tr> <tr> <td> <a href="http://ripbalm.com/index.php?cPath=23"><img src="images/left_nav_07.gif" width="136" height="29" alt="" border="0"></a></td> </tr> <tr> <td> <a href="http://ripbalm.com/index.php?cPath=25"><img src="images/left_nav_08.gif" width="136" height="27" alt="" border="0"></a></td> </tr> <tr> <td> <a href="http://ripbalm.com/index.php?cPath=33"><img src="images/left_nav_09.gif" width="136" height="46" alt="" border="0"></a></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> Link to comment Share on other sites More sharing options...
kywee Posted March 19, 2007 Author Share Posted March 19, 2007 I can't seem to find that piece of code in red. I even tried a search in dreamweaver for the code. Here is my column_left.php <?php /* $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { //include(DIR_WS_BOXES . 'categories.php'); } if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { //include(DIR_WS_BOXES . 'manufacturers.php'); } require(DIR_WS_BOXES . 'information.php'); //require(DIR_WS_BOXES . 'whats_new.php'); //require(DIR_WS_BOXES . 'search.php'); ?> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.