Wednesday, 15 August 2012

Use CSS to target a language -



Use CSS to target a language -

i want set chinese characters larger in web page , create english language letters remain same, because somehow chinese characters appear much larger english language characters.

is possible? thanks.

it not possible without wrapping chinese characters elements, <span lang=zh>...</span> (for utilize :lang(zh) { ... }).

on other hand, if chinese , english language characters different in size, caused utilize of stylistically incompatible fonts. if set e.g. font-family: arial, english language characters appear in arial , chinese character in other font, depending on browser defaults, because arial not contain chinese characters. solution utilize font-family value contains such fonts have chinese characters (in acceptable style).

css

No comments:

Post a Comment