Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Using custom fonts

Posted on 2012-03-24
1
Medium Priority
?
226 Views
Last Modified: 2012-03-25
How can I access custom fonts on from my asp.net site. I've upload the .tff files.
0
Comment
Question by:thenrich
1 Comment
 
LVL 16

Accepted Solution

by:
Vikram Singh Saini earned 2000 total points
ID: 37761967
Let us assume that you have uploaded .tff files in Fonts folder in root folder. To use them in your site, declare follow in .css as :

/* Font family for child contents*/
@font-face
{
    font-family: Colaborate-Regular;
    src: url('Fonts/ColabReg.ttf');
}

.pageHeader
{
    font-family: Colaborate-Regular,Calibri,Candara;
    font-size: 1.8em;
    padding: 3px 0 10px 2px;
    color: #463E3F;
    font-weight: bold;
}

Open in new window


But there are some limitations too.  Check out link: http://www.font-face.com/ for more details.

You can get custom font files free from http://www.font-squirrel.com/
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question