Results 1 to 5 of 5

help removing 1px space separating infobox header/contents

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; ...

      
  1. #1
    Member
    Join Date
    Jan 2005
    Posts
    93
    Rep Power
    0


    Default help removing 1px space separating infobox header/contents


  2. #2
    Member
    Join Date
    Jan 2005
    Posts
    93
    Rep Power
    0


    Default RE: help removing 1px space separating infobox header/conten

    no one has a clue? wowsers

  3. #3
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    21


    Default RE: help removing 1px space separating infobox header/conten

    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

  4. #4
    New Member
    Join Date
    Mar 2004
    Posts
    5
    Rep Power
    0


    Default RE: help removing 1px space separating infobox header/conten

    It looks like there is a 1px border box around the categories. Post the code from column_left.php and we can check it.

  5. #5
    Member
    Join Date
    Jan 2005
    Posts
    93
    Rep Power
    0


    Default

    infobox part of CSS:

    Code:
    .infoBox &#123;
      /*background&#58; #b6b7cb;*/
      border&#58; 1px;
      border-style&#58; none;
      border-color&#58; #9D080D;
      border-spacing&#58; 0px;
    &#125;
    
    .infoBoxContents &#123;
      /*background&#58; #f8f8f9;*/
     /* background-image &#58; url&#40;../../images/OSCMAX_infobox_bg.gif&#41;;*/
      font-family&#58; Verdana, Arial, sans-serif;
      font-size&#58; 10px;
      border&#58; 0px;
      border-style&#58; solid;
      border-color&#58; #9D080D;
      border-spacing&#58; 1px;
    &#125;
    
    .infoBoxNotice &#123;
      background&#58; #FF8E90;
    &#125;
    
    .infoBoxNoticeContents &#123;
      background&#58; #FFE6E6;
      font-family&#58; Verdana, Arial, sans-serif;
      font-size&#58; 10px;
    &#125;
    
    TD.infoBoxHeading &#123;
      font-family&#58; Verdana, Arial, sans-serif;
      font-size&#58; 10px;
      font-weight&#58; bold;
      background&#58; #9D080D;
      color&#58; #ffffff;
    &#125;
    
    TD.infoBox, SPAN.infoBox &#123;
      font-family&#58; Verdana, Arial, sans-serif;
      font-size&#58; 10px;
    &#125;
    column_left.php:

    Code:
    &lt;?php
    /*
      $Id&#58; column_left.php,v 1.2.2.1.2.2 2005/09/21 20&#58;57&#58;47 Michael Sasek Exp $
    
      osCMax Power E-Commerce
      http&#58;//oscdox.com
    
      Copyright &#40;c&#41; 2003 osCommerce
    
      Released under the GNU General Public License
    */
    
    // BOF&#58; MOD - INFO BOXES - now pulled dynamically as per setting in admin 
    /*
      if &#40;&#40;USE_CACHE == 'true'&#41; &amp;&amp; empty&#40;$SID&#41;&#41; &#123;
        echo tep_cache_categories_box&#40;&#41;;
      &#125; else &#123;
        include&#40;DIR_WS_BOXES . 'categories.php'&#41;;
      &#125;
    
      if &#40;&#40;USE_CACHE == 'true'&#41; &amp;&amp; empty&#40;$SID&#41;&#41; &#123;
        echo tep_cache_manufacturers_box&#40;&#41;;
      &#125; else &#123;
        include&#40;DIR_WS_BOXES . 'manufacturers.php'&#41;;
      &#125;
    
      require&#40;DIR_WS_BOXES . 'whats_new.php'&#41;;
      require&#40;DIR_WS_BOXES . 'search.php'&#41;;
      require&#40;DIR_WS_BOXES . 'information.php'&#41;;
    */
      $column_query = tep_db_query&#40;'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'&#41;;
      while &#40;$column = tep_db_fetch_array&#40;$column_query&#41;&#41; &#123;
    
        $column&#91;'cfgtitle'&#93; = str_replace&#40;' ', '_', $column&#91;'cfgtitle'&#93;&#41;;
        $column&#91;'cfgtitle'&#93; = str_replace&#40;"'", '', $column&#91;'cfgtitle'&#93;&#41;;
    
        if &#40; &#40;$column&#91;cfgvalue&#93; == 'yes'&#41; &amp;&amp; &#40;$column&#91;cfgcol&#93; == 'left'&#41;&#41; &#123;
          define&#40;$column&#91;'cfgkey'&#93;,$column&#91;'box_heading'&#93;&#41;;
    
          if &#40; file_exists&#40;DIR_WS_BOXES . $column&#91;'cfgtitle'&#93; . '.php'&#41; &#41; &#123;
            require&#40;DIR_WS_BOXES . $column&#91;'cfgtitle'&#93; . '.php'&#41;;
          &#125; 
        &#125;
      &#125;
    // EOF&#58; MOD - INFO BOXES - now pulled dynamically as per setting in admin 
    ?>

Similar Threads

  1. Separating and Moving boxes in osCMax "fallback"
    By mrf62 in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 12-31-2006, 06:27 AM
  2. Strange border around text inside infobox contents
    By adam71o in forum osCmax v2 Customization/Mods
    Replies: 6
    Last Post: 03-07-2006, 01:19 PM
  3. removing extra TD's in the box or infobox headers
    By line47 in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 09-30-2005, 08:16 AM
  4. differnet header bar for each infobox
    By developer_x in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 06-06-2005, 07:37 AM
  5. Space between infoboxes?
    By Kristine in forum osCMax v1.7 General Mods Discussion
    Replies: 1
    Last Post: 03-23-2004, 03:22 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •