Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2008
    Posts
    59
    Plugin Contributions
    0

    Default Display anomolies between IE7 and Firefox 2

    Hi,

    I've got some problems with how IE and Firefox are displaying my Manufacturer (brand) left sidebox.

    In IE there is a margin that shouldn't be there, and in both they have a blank line above, which I also can't fathom. Can anyone help? I've pasted the tpl code below, though perhaps it might be stylesheet related...???

    www.chococielo.com

    Cheers,
    Adam.

    Code:
    <?php
    /**
     * Manufacturers Select Sidebox as List 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_manufacturers_select.php 2007-07-08 kuroi
     */
      $content = '';
      $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
      $content .= '<ul>' . "\n";
      for ($i=0;$i<sizeof($manufacturer_sidebox_array);$i++) {
        if ($manufacturer_sidebox_array[$i]['text']!=''){
          $content .= '<li><div class="betterMoreinformation"><a class="category-links" href="' . zen_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $manufacturer_sidebox_array[$i]['id']) . '">';
          $content .= $manufacturer_sidebox_array[$i]['text'];
          $content .= '</a></div></li>' . "\n";
        }
      }

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Display anomolies between IE7 and Firefox 2

    It's covered in the mod's support thread. For speed, IE and FF have different non-zero, defaults for UL margins. So you need to add
    margin: 0;
    to your
    #manufacturerslistContent ul
    styles.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jul 2008
    Posts
    59
    Plugin Contributions
    0

    Default Re: Display anomolies between IE7 and Firefox 2

    Wow, quick reply Kuroi, many thanks. Works fine - sorry I missed it from the mod forum....

  4. #4
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Display anomolies between IE7 and Firefox 2

    Moderator's note - thread moved to proper forum.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

 

 

Similar Threads

  1. ie7 and chrome different than ie8 and firefox
    By Congerman in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Aug 2010, 04:48 PM
  2. Display Problems in IE7 and Firefox
    By scottmcclean in forum General Questions
    Replies: 7
    Last Post: 31 Jul 2009, 03:01 PM
  3. IE7 and Firefox problem
    By livingstons in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Oct 2008, 04:23 PM
  4. Works in IE7 and Firefox, not in IE 6
    By Chuckwa in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 May 2008, 06:19 PM
  5. Contents messed up in Firefox and IE7
    By simonmade in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 8 Dec 2006, 01:26 AM

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