display messed up in IE display messed up in IE
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

display messed up in IE

Started by tlove, November 24, 2005, 07:27:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tlove

I'm using the Ipodlounge as one of my themes and i have the settings switched to allow the list of flags to be displayed. In Opera and Firefox, The footer with the flags and theme selection dropdown maintains the width of the rest of the page and the flags wrap to the next line. In IE the flags are not wrapping and i end up with a wide table at the bottom of the page. I can't figure out which part of the stylesheet is causing IE to do that

The link to my page is my site Be sure to select the Ipodlounge theme.

If anybody can help, i'd greatly appreciate it. I really like that theme and would love to keep it as my default with the flag display.

Thank you all

Joachim Müller

edit include/functions.inc.php, find//start the output
switch ($parameter) {
   case 'flags':
       if ($CONFIG['language_flags'] == 2){
           $return.= $lang_language_selection['choose_language'].': ';
       }
       foreach ($lang_array as $language) {
       $cpg_language_name = str_replace('-utf-8','', $language);
              if (array_key_exists($cpg_language_name, $lang_language_data)){
              $return.= $lineBreak .  '<a href="' .$cpgChangeUrl. $language . '"><img src="images/flags/' . $lang_language_data[$cpg_language_name][2] . '.gif" border="0" width="16" height="10" alt="" title="';
              $return.= $lang_language_data[$language][0];
              if ($lang_language_data[$language][1] != $lang_language_data[$language][0]){
                  $return.= ' (' . $lang_language_data[$language][1] . ')';
                  }
              $return.= '" /></a>&nbsp;' . $lineBreak;
              }
              }
          if ($CONFIG['language_reset'] == 1){
              $return.=  '<a href="' .$cpgChangeUrl. 'xxx"><img src="images/flags/reset.gif" border="0" width="16" height="11" alt="" title="';
              $return.=  $lang_language_selection['reset_language'] . '" /></a>' . $lineBreak;
          }
       break;
and replace the non-breaking spaces (&nbsp;) with an actual space char.

tlove

Thank you GauGau   ;D . A lot easier than i thought it would be

tlove

How do you get one of those 'solved' captions on a topic that's solved

Joachim Müller

this is something only moderators can do. It's enough that you reply to the thread you started, saying that the thread is solved (as you did). If you were able to solve a thread on your own, post what you did for the benefit of others. Thanks for being concerned to respect board rules and common sense.