html - Showing English and Gujarati text on the same page | Font issue -
i have application, text in english , gujarati language. english , gujarati text there on same page. like:
name/નામ now problem if have verdana or other font in body tag applied through css, font applied on gujarati text , text not visible correctly, application uses absolute positioning (and texts in div).
if use shruti font, english text not displayed correctly.
applying verdana in name , shruti in નામ not feasible have change application lot that.
please let me know alternative/solution.
a simple solution surround gujarati content span has language-specific class assigned it.
<span class="gujarati">...</span> you can set css verdana applied elements elements gujarati class name.
body { font-family: verdana; } .gujarati { font-family: shruti; } this way not have modify content, gujarati part.
Comments
Post a Comment