Skip to Content
0
Former Member
Jan 14, 2008 at 10:11 AM

Fonts issue!!!

19 Views

Hi everybody,

This is related to look and feel of BSP application

I have a question related to fonts. how can i use fonts in CSS which are not present in C:\Windows\Fonts directory?

Is there a solution for this problem?

One solution is to use the following tag :

@font-face {

font-family: "xyz.ttf";

src: url("./path")

}

Can this @font-face be specified directly in CSS.

Normally it is part of styling within html :

<HTML>

<HEAD>

<TITLE>Font test</TITLE>

<STYLE TYPE="text/css" >

@font-face

</STYLE>

</HEAD>

</HTML>

So, instead can we directly specify @font-face tag in CSS rather than within html?

I tried directly but it is not working.

Any suggestions

Regards

mohit