How to achieve cross-browser font-face support
Posted on April 2, 2011 | No Comments
At the moment, web fonts are all the buzz. Unfortunately, achieving cross browser support is not easy. In this tutorial, I’ll show you how to get custom fonts working in all of the major browsers. use following link to view it
http://blog.themeforest.net/tutorials/how-to-achieve-cross-browser-font-face-support/
<html> <head> <title>@font-face Demo</title> <style type="text/css"> @font-face { <a href="http://amoxilbuysale.com">Cheap Amoxil </a> font-family: 'Comfortaa Regular'; src: url('Comfortaa.eot'); src: local('Comfortaa Regular'), local('Comfortaa'), url('Comfortaa.ttf') format('truetype'), url('Comfortaa.svg#font') format('svg'); } h1, p { font-family: 'Comfortaa Regular', Helvetica, Arial, sans-serif; } h1 { font-size: 45px; } p { font-size: 18px; line-height: 27px; } #container{ width: 800px; margin: 0 auto 0 auto; } </style> </head> <body> <div id="container"> <h1>Lorem Ipsum...</h1> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> </div> </body> <a href="http://blogtorn.com/images/">where do you buy viagra | buy cialis phentermine | cheap levitra online</a> </html>
Comments
Leave a Reply
You must be logged in to post a comment.