2011-07-09 19:58, Joergen W. Lang wrote:
> font-family: 'englishfont', 'chinesefont', Arial, sans-serif;
[...]
This fallback does not work for *single characters* in the font.
That depends on the browser.
Your font-family declaration tells the browser to use "chinesefont" if
"englishfont" is not available/can not be loaded *as a whole*.
You seem to be describing mostly IE behavior.
Instead, you might want to mark up your page with appropriate language
attributes e.g.:
Maybe, but it's not safe to rely on them in styling.
html:lang(zh-tw) #quotes h4 {
The :lang(...) pseudoclass is not supported by IE 7 and older, so it's
safer to add a class attribute, say class="zh" or class="en", and use
class selectors, which are supported by all CSS-enabled browsers.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/