Biru Posted November 5, 2008 Share Posted November 5, 2008 The BOX_WIDTH code in general.php says its 180....but the length is different when viewed in Firefox and Internet Explorer.... The box in Internet Explorer seems 2 b bigger... Anyone knows why??? :blink: PS:- its the same when I specifically change the width of the column right or left... Link to comment Share on other sites More sharing options...
Guest Posted November 6, 2008 Share Posted November 6, 2008 The BOX_WIDTH code in general.php says its 180....but the length is different when viewed in Firefox and Internet Explorer....The box in Internet Explorer seems 2 b bigger... Anyone knows why??? :blink: PS:- its the same when I specifically change the width of the column right or left... I have the same problem, but mine only shows up on the product info page. I've narrowed it down - I think - to a padding issue. So, try checking for that. Link to comment Share on other sites More sharing options...
Guest Posted November 6, 2008 Share Posted November 6, 2008 The BOX_WIDTH code in general.php says its 180....but the length is different when viewed in Firefox and Internet Explorer....The box in Internet Explorer seems 2 b bigger... Anyone knows why??? :blink: PS:- its the same when I specifically change the width of the column right or left... Since you din't provide a link so we can see, we are left guessing. It might be the search box. Try looking for this in catalog/includes/boxes/search.php 'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<br><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></a>'); Change to 'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . '<br>' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<br><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></a>'); Link to comment Share on other sites More sharing options...
easytech Posted November 6, 2008 Share Posted November 6, 2008 Since you din't provide a link so we can see, we are left guessing. It might be the search box. Try looking for this in catalog/includes/boxes/search.php 'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<br><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></a>'); Change to 'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . '<br>' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<br><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></a>'); I while back when i kept refreshing in either Ie or Mf I noticed my padding size changed a bit every time I refreshed, it was odd Link to comment Share on other sites More sharing options...
php_Guy Posted November 6, 2008 Share Posted November 6, 2008 <rant> The "reason" for the problem is that IE is a non-compliant piece of **** browser. Unfortunately, it is also the most common (with IE6 and IE7 combined barely staying ahead of FF). Microsoft has big claims for IE8 being considerably more standards compliant. But it will be years before IE6/7's market share drops to the point where we can stop supporting it's shortcomings. </rant> Fortunately, issues with IE are well known and hacks are well documented. Search on google should give you whatever you need. A big one is not to use margin and padding on the same css element. This can cause IE to use an inflated padding amount. Using a container element for one or the other is an easy workaround. Also, all browsers have different default settings for various html elements. Most web designers use resets (search for css reset on google) to even the playing field and give a more consistent presentation across browsers. Most likely, in your case, some element is displaying slightly differently in one browser than another causing the container to widen to support it. Check the search box, as suggested above, and look for anything else that is pushing against the right side of the column. hth Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.