主题:网页字体大小求教:用 pt 还是 px 还是什么? -- 铁手
共:💬5
Using CSS (cascading style sheets) makes it easy to specify font sizes, but before you set a font size you should be aware that it could change the layout of your site considerably. Different browsers interpret font sizes differently, so a font that appears readable in Microsoft Internet Explorer may be smaller when viewed in Netscape. In addition, font sizes on Windows systems are not always the same as they are on other platforms. Your site may look great to Windows users, but it may be illegible to those using a Mac. There is much controversy in relationship to font-size specifications. Our advice is the same as the majority of long-time designers. When you specify a font size, specify it in pixels (px) not points (pt) or em. Using a pt or em font-size property instead of px allows for your site text to be resized according to the viewer's system settings. If their system is set to view very large text, your web site's layout will become distorted and your web site may be illegible to them. Also, be very careful not to set your font-size pixels too small. Some folks may not be able to read tiny text and adjusting their system text size will have no effect on your site because your font-size is specified as px. There truly is a happy medium in any situation and the font-size (ie. 12px) will vary depending on the font-family (ie. Arial, Times New Roman, etc.) you use.
AND
Visual Reference Guide for converting CSS Font-size: from px (pixels), pt (point) to em (*)
- 相关回复 上下关系5
网页字体大小求教:用 pt 还是 px 还是什么? 铁手 字123 2004-05-16 21:24:20
pt, and here is my Sampling CSS file,if it useful for you landkid 字541 2004-05-17 05:37:30
谢谢二位,邪门的事情正是从PT转向用PX发生的 铁手 字228 2004-05-21 16:31:40
看看这个有没有帮助
😁看来是有用,字体变大了呀,这下舒服多了 雪个 字0 2004-05-16 22:07:48