Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2008
    Posts
    591
    Plugin Contributions
    0

    Default Why am I getting a white area?

    I want add "Add This" below Whois online sidebox


    PHP Code:
    <?php
    /**
     * Side Box Template
     *
     * @package templateSystem
     * @copyright Copyright 2003-2005 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: tpl_whos_online.php 2982 2006-02-07 07:56:41Z birdbrain $
     */
      
    $content '';
      
    $content .= '<div id="' str_replace('_''-'$box_id 'Content') . '" class="sideBoxContent centeredContent">';
      for (
    $i=0$i<sizeof($whos_online); $i++) {
        
    $content .= $whos_online[$i];
      }
      
    $content .= '</div>';
      
    $content .= '';


    ?>
    <!-- AddThis Button BEGIN -->
    <div class="addthis_toolbox addthis_default_style ">
    <a class="addthis_button_preferred_1"></a>
    <a class="addthis_button_preferred_2"></a>
    <a class="addthis_button_preferred_3"></a>
    <a class="addthis_button_preferred_4"></a>
    <a class="addthis_button_compact"></a>
    <a class="addthis_counter addthis_bubble_style"></a>
    </div>
    <script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4d9f0913d28c8e79"></script>
    <!-- AddThis Button END -->
    This code show me Above the box .

    what i do wrong ?

    Thanks

  2. #2
    Join Date
    Oct 2008
    Posts
    591
    Plugin Contributions
    0

    Default Why am I getting a white area?

    PHP Code:
    <!-- AddThis Button BEGIN -->
    <div class="addthis_toolbox addthis_default_style ">
    <a class="addthis_button_preferred_1"></a>
    <a class="addthis_button_preferred_2"></a>
    <a class="addthis_button_preferred_3"></a>
    <a class="addthis_button_preferred_4"></a>
    <a class="addthis_button_compact"></a>
    <a class="addthis_counter addthis_bubble_style"></a>
    <script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4d9f0913528c8e79"></script>
    <!-- AddThis Button END -->
       <?php echo '<a href="' zen_href_link(FILENAME_ASK_A_QUESTION'products_id='
       
    $_GET['products_id']) . '">' .   zen_image_button(BUTTON_IMAGE_ASK_A_QUESTIONBUTTON_ASK_A_QUESTION_ALT) .
       
    '</a>'?>

    </div>

     <!--bof Product description -->
    <?php if ($products_description != '') { ?>
    <div id="productDescription" class="productGeneral biggerText"><?php echo stripslashes($products_description); ?></div>
    <?php ?>
    <!--eof Product description -->
    Why i get this ?

  3. #3
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Why am I getting a white area?

    because your productMainImage is longer than your productPrices and your addthis_toolbox addthis_default_style
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Play with it long enough and you will break it.

 

 

Similar Threads

  1. why am I getting server 500 white page?
    By lrfowler24 in forum General Questions
    Replies: 10
    Last Post: 26 Nov 2015, 05:14 AM
  2. Removing the white big area on top?
    By carlman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Oct 2014, 11:07 AM
  3. weird white area
    By mipavluk in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 19 Dec 2009, 03:47 PM
  4. Why is my background not white?
    By HandcraftedUK in forum General Questions
    Replies: 9
    Last Post: 16 Mar 2007, 08:32 PM
  5. White area beside footer banner
    By aussiewench in forum General Questions
    Replies: 4
    Last Post: 27 Sep 2006, 05:48 PM

Posting Permissions

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