I also played around with the font-family itself. Is there any way of handling this other than using "span"? My hope was that for the whole web page, I could specify one font family for all English text on the page, and a separate font family for all the Chinese text on the page, and the browser's rendering engine would know from the (UTF-8?) character codes which font family to use without me telling it what text is Chinese and what text is English. My playing around shows that it does matter. My apologies that when I launched this thread, I did not realize that it would be relevant that the Chinese and English are mixed within a paragraph, and even within a single sentence. Notice that the English and Chinese are mixed within a single sentence as well as within a single paragraph. It shows an x-term in which I used the Linux "cat" command to display a file with mixed Chinese and English. Take a look at the attached screen-capture. Having read your posting, I went to the W3Schools site and studied the "lang" feature, and dug in more to UTF-8, and related topics.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |