background preloader

CSS3 @font-face Design Guide

CSS3 @font-face Design Guide
Although CSS3 @font-face is supported by most major browsers (IE, Firefox, Chrome, and Safari), but not all. When it doesn't, your custom fonts might break the layout or come out with undesired results. In this article, I will explain the common issues with using custom fonts, picking the matching fallback web safe fonts, and how to create a perfect fallback font style with Modernizr. Common Mistake One common mistake that most people make when implementing custom fonts is not specifying the fallback fonts or picking the wrong fallback fonts. Web Safe Fallback Fonts When using custom fonts, it is important to include the web safe fonts as fallback. Layout Issues Because every font face has its own width, height, weight, kerning (letter-spacing), etc., some fonts are not substitutable with the web safe fonts. This might causes layout issues as shown in the image below where the fallback font extends off the boundary. Modernizr Fallback Font Styles With Modernizr (demo) Including Modernizr

http://webdesignerwall.com/tutorials/css3-font-face-design-guide

Google Web Fonts v2 Released Google has released version 2 of Google Web Fonts. This new release includes a lot of great functionality for evaluating and choosing fonts for your web site. You can browse fonts using examples formatted as words, sentences, and paragraphs, to see the fonts in the context you intend to use them.

CSS Cross Browser Fonts using CSS3 @font-face For years, web designers and bloggers have been limited to a select number of "web-safe" fonts. With the Jun 30th release of FireFox 3.5, it's now possible for cross-browser font embedding using the CSS3 @font-face selector. Here's a tutorial to show you how PHP for Beginners: Building Your First Simple CMS By Jason Lengstorf On CMS, php #The Magic of PHP + MySQL It's safe to say that nearly every website that's up-to-date these days is using some form of content management system (CMS). While there are a ton of great free options that provide us with a CMS to power a website (WordPress, Drupal, etc.), it doesn't hurt to peek under the hood and get a feel for how these systems work. To get our feet wet as back-end developers, we'll be creating a simple PHP class that will: Create a databaseConnect to a databaseDisplay a form with two fieldsSave the form data in the databaseDisplay the saved data from the database

15 Excellent Examples of Web Typography. Part 1 Part I: Showcase I have spent the last month searching, stumbling, noting, bookmarking and analysing in a quest to find 15 Excellent examples of Web Typography. I’ve chosen them because they make excellent use of type. ttf2eot on the web! Use this tool to convert a TrueType (TTF) font file into an OpenType (EOT) font file, for use with Internet Explorer for embedded fonts. After using this tool, you will be able to embed fonts on your web pages that can be seen on Internet Explorer 4 and higher, and all current modern web browsers that support embedded fonts via CSS3 (Firefox 3.5 and higher are among such browsers). See the Restrictions that are in place for this web application. There are some known issues with the ttf2eot binary this application uses and certain TTF files won't work on IE when converted to EOT. If your font doesn't work on IE after conversion, try this other font converter instead. To keep this program from consuming too many resources on the server, the following restrictions are in place: This program will only accept a TTF file that is less than 2 MB (or 1024*1024*2 bytes).

10 CSS Rules Every Web Designer Should Know Through experience as web designers we memorise all kinds of code syntax, hacks and snippets. With CSS in particular there is a number of rules and declarations that can really help transform your website designs and open up new possibilities when compared to older techniques. This post rounds up 10 declarations and tips that every web designer should have available in their CSS arsenal. @media screen and (max-width: 960px) { } Common fonts to all versions of Windows & Mac equivalents (Browser safe fonts) - Web design tips & tricks Last updated: 2008/06/03 Return to the main page Introduction Nice Web Type – IE10 supports OpenType features via CSS Internet Explorer 10 has joined Firefox 4+ in supporting OpenType font features via CSS vendor prefixes. To explain how these features work, Microsoft commissioned demo pages from Font Bureau, Monotype, and FontFont (reminiscent of another demo/announcement from Microsoft). First WOFF support in IE9, and now the beginnings of OpenType feature support in IE10. The demos are nicely done, and they each come with code samples that are worth studying.

Related: