New Zenner
- Join Date:
- Jul 2008
- Posts:
- 59
- Plugin Contributions:
- 0
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...???
Cheers,
Adam.
<?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";
}
}