is font/text sizing in % more accessible and manageble than em?

China☆狼群 提交于 2019-12-13 07:28:46

问题


Both article are proving this.

http://www.kyleschaeffer.com/best-practices/css-font-size-em-vs-px-vs-pt-vs/

http://www.maxdesign.com.au/presentation/relative/

I want to know SO users view?


回答1:


The only differences between % and 100 * em (for setting font size) is that there are a few browser bugs relating to the use of em units (which can be worked around with an explicit body { font-size: 100%; } and then using em units thereafter.)

The kyleschaeffer article is, frankly, rubbish. It leaves out half the facts.

The maxdesign is decent, but shows its age. It was written in '03, and the bugs it talks about are in Opera 6 and Netscape 4 — both of which are obsolete.



来源:https://stackoverflow.com/questions/2128693/is-font-text-sizing-in-more-accessible-and-manageble-than-em

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!