Wikitravel has been nominated for the 2008 Webby Awards!

Tech:No icons for external links for non-CSS3 browsers

From Wikitravel Shared

Jump to: navigation, search

Moved from en:Wikitravel:Bug reports by Evan

[edit] What happens

No icon for external links is shown in case of browsers which do not support CSS level 3 (Opera, Konquerer etc.). There are only rules for IE ond CSS-3 browsers. The CSS-3 rules are defined in mw/skins/monobook/main.css. Maybe a change from

#bodyContent a[href ^="http://"],
#bodyContent a[href ^="gopher://"] {
    background: url(external.png) center right no-repeat;
    padding-right: 13px;
}

to

#bodyContent a.external {
    background: url(external.png) center right no-repeat;
    padding-right: 13px;
}
#bodyContent a[href ^="http://"][class~="external"],
#bodyContent a[href ^="gopher://"][class~="external"] {
    background: url(external.png) center right no-repeat;
    padding-right: 13px;
}
...

will solve the problem. Unger 01:22, 7 April 2006 (EDT)

[edit] When it happens

[edit] What should happen

[edit] How to fix it