![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 5 | ← | Archive 7 | Archive 8 | Archive 9 | Archive 10 | Archive 11 | → | Archive 13 |
After I wrote the proposal above, I got an idea. Template:IPA now looks like this:
<span class="IPA" style="font-family:Lucida Grande, Arial Unicode MS,
Lucida Sans Unicode, Gentium, Code2000; font-family:inherit;"></span>
inherit
value, so it still applies the fonts.class="IPA"
attribute allows users to specify their own styles. Add something like this into your style sheet, at
User:XXX/monobook.css (where XXX is your user name):.IPA { color: red; }
— Michael Z. 20:40, 2005 Jan 14 (UTC)
Okay, I'm going to try something else. I found two CSS filters to hide CSS from MSIE. I'll see if these can work. — Michael Z. 07:10, 2005 Jan 15 (UTC)
1. The !important property doesn't work in MSIE4, 5 and 6, so the second declaration should override the first in these browsers.
<span class="IPA"style="font-family:inherit !important; font-family:Lucida Grande,
Arial Unicode MS, Lucida Sans Unicode, Gentium, Code2000;"></span>
Inherits font-family in Firefox/Mac, but applies the second declaration in MSIE6/Win (good), Firefox/win and Safari (not what we want).
2. spaced empty comment in the property should hide the declaration from MSIE6/Win only.
<span class="IPA" style="font-family:Lucida Grande, Arial Unicode MS,
Lucida Sans Unicode, Gentium, Code2000; font-family /**/:inherit;"></span>
Method 2 seems to work right. Inherits font-family in Safari and Firefox, but applies the IPA font spec in MSIE6/Win. YAY! Please look at some IPA and tell me if everything looks right to you. — Michael Z. 07:40, 2005 Jan 15 (UTC)
.IPA
font declaration to a browser-specific style sheet, but it's nice to get it working as it should. —
Michael Z. 00:25, 2005 Jan 16 (UTC)Looks very good on a common public computer with no particular extras added. This is a REAL improvement! Kudos!
--
Ruhrjung 13:41, Jan 24, 2005 (UTC)
![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 5 | ← | Archive 7 | Archive 8 | Archive 9 | Archive 10 | Archive 11 | → | Archive 13 |
After I wrote the proposal above, I got an idea. Template:IPA now looks like this:
<span class="IPA" style="font-family:Lucida Grande, Arial Unicode MS,
Lucida Sans Unicode, Gentium, Code2000; font-family:inherit;"></span>
inherit
value, so it still applies the fonts.class="IPA"
attribute allows users to specify their own styles. Add something like this into your style sheet, at
User:XXX/monobook.css (where XXX is your user name):.IPA { color: red; }
— Michael Z. 20:40, 2005 Jan 14 (UTC)
Okay, I'm going to try something else. I found two CSS filters to hide CSS from MSIE. I'll see if these can work. — Michael Z. 07:10, 2005 Jan 15 (UTC)
1. The !important property doesn't work in MSIE4, 5 and 6, so the second declaration should override the first in these browsers.
<span class="IPA"style="font-family:inherit !important; font-family:Lucida Grande,
Arial Unicode MS, Lucida Sans Unicode, Gentium, Code2000;"></span>
Inherits font-family in Firefox/Mac, but applies the second declaration in MSIE6/Win (good), Firefox/win and Safari (not what we want).
2. spaced empty comment in the property should hide the declaration from MSIE6/Win only.
<span class="IPA" style="font-family:Lucida Grande, Arial Unicode MS,
Lucida Sans Unicode, Gentium, Code2000; font-family /**/:inherit;"></span>
Method 2 seems to work right. Inherits font-family in Safari and Firefox, but applies the IPA font spec in MSIE6/Win. YAY! Please look at some IPA and tell me if everything looks right to you. — Michael Z. 07:40, 2005 Jan 15 (UTC)
.IPA
font declaration to a browser-specific style sheet, but it's nice to get it working as it should. —
Michael Z. 00:25, 2005 Jan 16 (UTC)Looks very good on a common public computer with no particular extras added. This is a REAL improvement! Kudos!
--
Ruhrjung 13:41, Jan 24, 2005 (UTC)