开发者

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

Both article are proving this.

http://www.kyleschaeffer.com/best-practices/css-font-size-em-v开发者_StackOverflow社区s-px-vs-pt-vs/

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

I want to know SO users view?


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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜