This is a discussion on help removing 1px space separating infobox header/contents within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; ...
no one has a clue? wowsers
CSS
so endith the lesson
<think>sometimes I just sit's and thinks</think>
"Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB
It looks like there is a 1px border box around the categories. Post the code from column_left.php and we can check it.
infobox part of CSS:
column_left.php:Code:.infoBox { /*background: #b6b7cb;*/ border: 1px; border-style: none; border-color: #9D080D; border-spacing: 0px; } .infoBoxContents { /*background: #f8f8f9;*/ /* background-image : url(../../images/OSCMAX_infobox_bg.gif);*/ font-family: Verdana, Arial, sans-serif; font-size: 10px; border: 0px; border-style: solid; border-color: #9D080D; border-spacing: 1px; } .infoBoxNotice { background: #FF8E90; } .infoBoxNoticeContents { background: #FFE6E6; font-family: Verdana, Arial, sans-serif; font-size: 10px; } TD.infoBoxHeading { font-family: Verdana, Arial, sans-serif; font-size: 10px; font-weight: bold; background: #9D080D; color: #ffffff; } TD.infoBox, SPAN.infoBox { font-family: Verdana, Arial, sans-serif; font-size: 10px; }
Code:<?php /* $Id: column_left.php,v 1.2.2.1.2.2 2005/09/21 20:57:47 Michael Sasek Exp $ osCMax Power E-Commerce http://oscdox.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // BOF: MOD - INFO BOXES - now pulled dynamically as per setting in admin /* 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 . 'whats_new.php'); require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'information.php'); */ $column_query = tep_db_query('select configuration_column as cfgcol, configuration_title as cfgtitle, configuration_value as cfgvalue, configuration_key as cfgkey, box_heading from ' . TABLE_THEME_CONFIGURATION . ' order by location'); while ($column = tep_db_fetch_array($column_query)) { $column['cfgtitle'] = str_replace(' ', '_', $column['cfgtitle']); $column['cfgtitle'] = str_replace("'", '', $column['cfgtitle']); if ( ($column[cfgvalue] == 'yes') && ($column[cfgcol] == 'left')) { define($column['cfgkey'],$column['box_heading']); if ( file_exists(DIR_WS_BOXES . $column['cfgtitle'] . '.php') ) { require(DIR_WS_BOXES . $column['cfgtitle'] . '.php'); } } } // EOF: MOD - INFO BOXES - now pulled dynamically as per setting in admin ?>
Bookmarks