Template talk:Zh-tspw
This redirect does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
font-family: 'Arial Unicode MS'
[edit]Hi, I think there is a problem with this (appears in one of the <span>s in the template). On Windows XP, the whole of Wikipedia is in Arial, except that span! (appears in italic Times) The real name of the font is Arial, not Arial Unicode MS. Anyway I don't think this is ever useful, as the OS (or the browser) should find an appropriate font automatically for any given Unicode character that is not in the current font. I suggest removing the "font-family". laug 02:51, 6 January 2006 (UTC)
- I've removed it. The main reason I did so is that the "/**/: inherit" hack doesn't work. MediaWiki ends up producing bad CSS like this:
<span class="Unicode" style="font-family:'Arial Unicode MS'; font-family &#160;:inherit;">
- The result of this is that on any machine without "Arial Unicode MS", the font falls back to the browser default, which is often a variant of "Times". This happens because "
font-family  :inherit
" is bad CSS and makes the whole inherit rule get skipped. Mike Dillon 19:03, 7 May 2006 (UTC)
Just to be clear, I ended up leaving the span with class=Unicode, but I removed the font-family stuff since it is handled in MediaWiki:Common.css. Please see Template talk:Unicode#Font declaration has been moved to Common.css for a relevant discussion. Mike Dillon 19:19, 7 May 2006 (UTC)