Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Tutorials and Tips

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-31-2011, 08:50 PM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 32,404
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default CSS: Using a Non-Standard Font

Using A Non-Standard Font!

I know this works on Chrome and Firefox, but I haven't tested it with a font I've never actually installed on my computer as well so you'll have to do some testing of your own. Anyway, there is a fairly simple CSS trick to using totally awesome fonts on your web pages like any other normal font!

Step 1: Download a cool font. My favorite sites for fonts are DaFont and Font Space. All the fonts are free to download of course, although most require no redistribution. Pick a font and download it.

Step 2: Upload your font, doesn't really matter where but be sure you grab the URL for it.

Step 3: Edit the CSS. Use the CSS below so the CSS can find the font.


Code:
@font-face {
    font-family: "FONTNAME";
    src: url(FONTURL) format("truetype");
}
Most fonts are truetype or opentype, you'll have to look at the particular font your using to determine the format though. Insert the font name, and the URL where the code says to, and add the entire block at the top of your CSS. Then, you can add...

Code:
font-family: "FONTNAME", Arial;
Wherever you want the text to be changed to the font. Some fonts may look weird depending on the sizing standard your using. Play around with it to get it just right. Make sure whenever you're using a custom font like this, you have a second font listed for those few browsers that don't like this code.
__________________
[My Shop] ♥ [My Blog] ♥ [Subscribe] ♥ [My Mods] ♥ [Mod TOS]
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bold/larger font for front page? herbaceous Questions and Supports 0 02-15-2012 03:53 PM
Font Question. shadowclash1 Other Chat 0 10-30-2010 04:26 AM
How to change the font of siggy.php ? PokePets Questions and Supports 12 09-22-2010 02:34 AM
I want change font jcga Questions and Supports 4 02-14-2010 08:47 AM
A PHP font question exdiogene Webmasters Area 5 10-17-2009 08:08 PM


All times are GMT -5. The time now is 06:07 PM.

Currently Active Users: 9370 (0 members and 9370 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636