如何使用css2从服务器加载字体系列

Pra*_*sad -3 css

我想使用css2从服务器加载字体.我想在服务器上保留字体.我不想使用CSS3,因为并非所有的浏览器都支持它,所以我怎样才能使用css2呢?

@font-face
Run Code Online (Sandbox Code Playgroud)

Dha*_*amu 6

<style type="text/css">
@font-face {
    font-family: 'lucida_sans_unicoderegular';
    src: url('font/lsansuni-webfont.eot');
    src: url('font/lsansuni-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/lsansuni-webfont.woff') format('woff'),
         url('font/lsansuni-webfont.ttf') format('truetype'),
         url('font/lsansuni-webfont.svg#lucida_sans_unicoderegular') format('svg');
    font-weight: normal;
    font-style: normal;

}
#menu {
    font-family: 'lucida_sans_unicoderegular',Times New Roman, Times, serif;
}
</style>
Run Code Online (Sandbox Code Playgroud)

lsansuni-webfont.eot,lsansuni-webfont.wof,..将此文件放在font文件夹中

使用此生成器创建@fontface

http://www.fontsquirrel.com/fontface/generator