Solved

Using custom fonts

Posted on 2012-03-24
1
218 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 500 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now