所有关于为网站选择正确的字体 [英] All about choosing the right font for a website

查看:130
本文介绍了所有关于为网站选择正确的字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在有两个问题:

1)网站首选哪些字体?现在我真的很喜欢'Segoe UI',但它只适用于最新的Windows系统,如Vista和2008 Server。所以我定义了一个序列:

1) What font faces are preferred for a website? Right now I really like 'Segoe UI', but it's only available on newest Windows systems like Vista and 2008 Server. So I have defined a sequence:

font-family: 'Segoe UI', Tahoma, Arial, Helvetica, Sans-Serif;

我真的不喜欢所有的外观,除了'Segoe UI'。任何建议什么好的字体可以使用除此之外?我也尝试过Trebuchet MS,它看起来很好的文档,但不是真的在一个页面上。

I do not really like the look of all of them except for 'Segoe UI'. Any suggestions on what nice font could be used in addition to that? I also tried 'Trebuchet MS', it looks great on documents, but not really on a page.

2)任何方式指定CSS不同的字体大小为每个特定font-familiy?像'Segoe UI - 9px',Tahoma - 8px等。这可能不可能,但也许有一些技巧?

2) Any way to specify with CSS different font sizes for each particular font-familiy? Like 'Segoe UI - 9px', Tahoma - 8px etc. This is probably not possible, but maybe there are some tricks?

我也会得到很多评论现在使用相对字体大小,但我不想要的。我有一些在我的设计是不可拉伸的图形。如果用户或浏览器默认导致以不同大小渲染的字体,设计将很快崩溃。

I also know I will get lots of comments now to use relative font sizes, but I don't want that. I have some graphics in my design which are not stretchable. If the user or browser default lead to the font rendered with a varying size the design will quite soon fall apart. I prefer having design with font size limitations to not having design at all.

推荐答案

1)首选字体是什么

1) What font faces are preferred for a website?

有关

See this page concerning safe web fonts.

2)通过CSS为每个特定字体系列指定不同的字体大小

2) Any way to specify different font sizes for each particular font-family through CSS?

不要。

很快, @ font-face 将被所有主流浏览器支持,您就可以在您的网站上使用任何您想要的字体。

Soon, @font-face will be supported by all major browsers, and you'll be able to use any font you want on your website.

在此之前,请查看Cufón sIFR

这篇关于所有关于为网站选择正确的字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆