1

I noticed that Chinese characters tend to be a bit smaller in my website than Roman characters.

I would like to know if there's a way of modifying them through CSS without touching Roman characters.

For instance, assigning font-size to only Chinese characters.

4

1 回答 1

3

You have basically two options:

  • Enforce server-side that all Chinese text, and only Chinese text, is wrapped in HTML elements labeled lang="zh". Then you can select them with :lang(zh) and apply a larger font-size.
  • Use @font-face to load a Chinese font whose metrics more closely match the Roman font you are using.
于 2010-07-31T00:32:16.190 回答