Underscore after country flags in Internet Explorer

General questions regarding the use of languages in Joomla! 2.5.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
porpoise2011
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Mar 12, 2011 6:02 am

Underscore after country flags in Internet Explorer

Post by porpoise2011 » Sat Mar 12, 2011 6:08 am

I am using the language switcher and everything seems to be working perfectly with the exception that the country (language) flags have a funny underscore after the flag when the page is opened in explorer (7).

I have attached 2 images of what appears.

I would be extremely grateful for any help!
You do not have the required permissions to view the files attached to this post.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Underscore after country flags in Internet Explorer

Post by infograf768 » Sat Mar 12, 2011 8:15 am

Are you using the default templates (beez)?
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

porpoise2011
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Mar 12, 2011 6:02 am

Re: Underscore after country flags in Internet Explorer

Post by porpoise2011 » Sat Mar 12, 2011 3:07 pm

Yes - Beez 20.

Everything is fine in Firefox - just a problem in Explorer.

porpoise2011
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Mar 12, 2011 6:02 am

Re: Underscore after country flags in Internet Explorer

Post by porpoise2011 » Sat Mar 12, 2011 3:38 pm

Using firebug I found one suspisious line but have no idea if this is the cause.

*|*:-moz-any-link {
text-decoration: underline;
}
about:PreferenceStyleSheet
<System>

Could the "underline" be causing this? How do I change the preference style sheet?

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Underscore after country flags in Internet Explorer

Post by infograf768 » Sat Mar 12, 2011 4:24 pm

I can't reproduce the issue here on IE8 Mode IE7
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

porpoise2011
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Mar 12, 2011 6:02 am

Re: Underscore after country flags in Internet Explorer

Post by porpoise2011 » Sat Mar 12, 2011 5:50 pm

I have also tried this out with the other default templates (atomic and fruit shop) and I still get this problem :o(.

What does this mean and is there any way to work around this?

*|*:-moz-any-link {
text-decoration: underline;
}
about:PreferenceStyleSheet
<System>

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Underscore after country flags in Internet Explorer

Post by infograf768 » Sun Mar 13, 2011 6:40 am

porpoise2011 wrote:I have also tried this out with the other default templates (atomic and fruit shop) and I still get this problem :o(.

What does this mean and is there any way to work around this?

*|*:-moz-any-link {
text-decoration: underline;
}
about:PreferenceStyleSheet
<System>
A google search for *|*:-moz-any-link shows that this is used as internal css by the browser.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

porpoise2011
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Mar 12, 2011 6:02 am

Re: (Solved) Underscore after country flags in Internet Expl

Post by porpoise2011 » Mon Mar 14, 2011 2:50 pm

This problem seems to be solved when I had upgraded with the 1.6.1 files :) .

pjottrr
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Feb 01, 2013 1:07 pm

Re: Underscore after country flags in Internet Explorer

Post by pjottrr » Fri Feb 01, 2013 1:24 pm

alltough this is an old article, i also experience this.

not only in IE, but on all browsers.
the website i'm talking about is joomla 2.5, with an artisteer template.
the site is: www.healbird.com
however, this is the old joomla 1.5 site. Im converting it to joomla 2.5 on location:
http://pjottrr.no-ip.org/healbird
this is where the problem exists

If i look in firefox "inspect element" what i can find in the link is the following:
<li class="" dir="ltr"><a href="/healbird/index.php/de/"></a></li>


If i use firebug the result is as folowing:

<ul class="lang-inline">
<li class="" dir="ltr">
<li class="" dir="ltr">
<a href="/healbird/index.php/de/">
<img title="german" alt="german" src="/healbird/media/mod_languages/images/de.gif">
</a>

If i change
html--> li.lang-active from/to:

from:
-------------------------------------------------------------------------------------------
<li dir="ltr" class="lang-active">
<a href="/healbird/index.php/de/">
<img src="/healbird/media/mod_languages/images/de.gif" alt="german" title="german">
</a>
</li>
--------------------------------------------------------------------------------------------
<li dir="ltr" class="lang-active">
<a href="/healbird/index.php/de/">
<img src="/healbird/media/mod_languages/images/de.gif" alt="german" title="german"></a>
</li>
--------------------------------------------------------------------------------------------

( removing extra space)

the problem seems to bes solved.

However, i have no clue on where / how to solve this in joomla.

Can anyone help me out?

easysymbol
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Feb 09, 2013 2:34 pm

Re: (Solved) Underscore after country flags in Internet Expl

Post by easysymbol » Wed Mar 06, 2013 10:15 pm

porpoise2011 wrote:This problem seems to be solved when I had upgraded with the 1.6.1 files :) .
I have the same problem, may i know what you have upgraded to solve that problem?
Seems like noone except you and me have had that problem.

Thanks in advance for any help i will receive.

apokoron
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Mar 26, 2013 12:32 am

Re: Underscore after country flags in Internet Explorer

Post by apokoron » Tue Mar 26, 2013 12:48 am

I had the same problem in Joomla 2.5.9 in all browsers (opera, firefox, ie).
looking at the source code i found some epty space after the image tag in the flags.
I find the solution -for me- by puting some code in one line instead of three in the folow file:

"...mysite/modules/mod_languages/tmpl/default.php" - and it looks now so:

line 32 <?php if ($params->get('image', 1)):?>
line 33 <?php echo JHtml::_('image', 'mod_languages/'.$language->image.'.gif', $language->title_native, array('title'=>$language->title_native), true);?><?php else : ?><?php echo $params->get('full_name', 1) ? $language->title_native : strtoupper($language->sef);?><?php endif; ?></a></li>
line 34 <?php endif;?>

Hope to help others as well !

mav-mad
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Jun 19, 2014 10:59 am

Re: Underscore after country flags in Internet Explorer

Post by mav-mad » Thu Jun 19, 2014 11:05 am

Hi!

For me it was a css issue, in all browsers.

I had the language switcher module in a position called "top". This position had a blue background. I believe that this is not an issue if you have a white background.

The issue was that I had a property inside styles.css for that position called "text-decoration" and it was set to "underscore". I modified the value to "none" and Fixed!

Hope it helps ;)

J
You do not have the required permissions to view the files attached to this post.


Locked

Return to “Language - Joomla! 2.5”