开发者

How do I insert a custom font to text with CSS? [duplicate]

This question already has answers here: Closed 11 years ago.开发者_Go百科

Possible Duplicate:

How would I use custom fonts in CSS

How can i use CSS to set a custom font type in, lets say, a <div> ?

I've seen something mentioned about @font-face ... but that doesn't seem to work in IE or Chrome.


@font-face is fully suported in every browser, even in ie. Notice, that some browsers need fonts to be converted to specific format. Use fontsquirrel to do that.

there's a yeasy way to register fonts with google webfonts

also you should read that


Yes, @font-face would be the right way, but isn't fully support (by IE, sure).

You can relly on JavaScript to do it on "all" browsers. I suggest Cufón.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜