Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Mozilla and MsIE show different Boxes


mitchlin71

Recommended Posts

Posted

Good day,

 

I work with Firefox and today opened my website in Internet Explorer (7+8), I was shocked to see that

the boxes in column_left were very wide.

I have looked at a lot of code but can't seem to find it.

 

Does somebody know what is wrong? Or where I can change settings for my left boxes?

 

Maybe you can see for your self on my website: Het Onderdelenmannetje

 

Thanks in advance

Richard

Posted

The problem is with your search box. Notice how your submit button does not break into its own line like it does in Firefox?

Back up first. In catalog/includes/boxes/search.php find

 

							   'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' . tep_hide_session_id() . tep_draw_hidden_field('search_in_description', '1') . 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_draw_hidden_field('search_in_description', '1') . 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>');

 

Just replace the ' ' with '<br>'

Posted
The problem is with your search box. Notice how your submit button does not break into its own line like it does in Firefox?

Back up first. In catalog/includes/boxes/search.php find

 

							   'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' . tep_hide_session_id() . tep_draw_hidden_field('search_in_description', '1') . 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_draw_hidden_field('search_in_description', '1') . 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>');

 

Just replace the ' ' with '<br>'

 

Thank you very much!! The problem is solved!

 

It was such a short code, that I wouldn't ever have found it.

 

ps. I have always used Internet Explorer, but since I can't open www.microsoft.nl on different pc's with

Microsoft IE, I changed to Firefox and I have to say that it is very very good.

"Long live OpenSource!"

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...