开发者

Font size CSS problem in IE

<span style="font-size: 11pt;"> some text in "malayalam" language </span>

I am using the above code to control the font size of a particular part in a text. The font size worked perfectly in chrome and Firefox, but开发者_C百科 not in ie8, what to do ? I am new to CSS , plz help. I am using unicode to reneder my "Malayalam" font


Point (pt) sizes don't work reliably in browsers, I'd recommend pixels (px) or em's.

A point is a unit of measurement used for real-life ink-on-paper typography. 72pts = one inch. One inch = one real-life inch like-on-a-ruler. Not an inch on a screen, which is totally arbitrary based on resolution.

Via CSS-Tricks.com

In more recent browser releases pixel support has become better and better, if you are working with Photoshop based designs you might find them easier than em's. If not, pxtoem.com can help.


try using 11px or whatever you want size you want, but in pixels - so not "pt" but "px". It's more fixed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜