<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>Fonts Archives - 7and1.net</title>
	<atom:link href="http://7and1.net/labels/fonts/feed/" rel="self" type="application/rss+xml" />
	<link>http://7and1.net/labels/fonts/</link>
	<description>Now just a blog</description>
	<lastBuildDate>Tue, 17 Dec 2013 20:58:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">63846883</site>	<item>
		<title>How to Use Custom Fonts on Your Website (In ALL Browsers)</title>
		<link>http://7and1.net/how-to-use-custom-fonts-on-your-website-in-all-browsers/</link>
		
		<dc:creator><![CDATA[Cole]]></dc:creator>
		<pubDate>Mon, 16 Dec 2013 15:19:58 +0000</pubDate>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://7and1.net/?p=9263</guid>

					<description><![CDATA[<p>If you&#8217;re a WordPress user, you may have used Cufon to make your titles appear on custom fonts. This isn&#8217;t a terrible way, but every extra plugin slows down your website. Plus, people who don&#8217;t use Cufon don&#8217;t have that option. So what can you do? Thanks to CSS 3, you can simply use the [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://7and1.net/how-to-use-custom-fonts-on-your-website-in-all-browsers/">How to Use Custom Fonts on Your Website (In ALL Browsers)</a> appeared first on <a rel="nofollow" href="http://7and1.net">7and1.net</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you&#8217;re a WordPress user, you may have used Cufon to make your titles appear on custom fonts. This isn&#8217;t a terrible way, but every extra plugin slows down your website. Plus, people who don&#8217;t use Cufon don&#8217;t have that option. So what can you do?</p>
<p>Thanks to CSS 3, you can simply use the <em>@font-face </em>rule to show anything you want in a specific font as long as you have the TTF.</p>
<p>First, you must locate the TTF file on your computer and make an EOT copy to ensure compatibility with Internet Explorer. You can use this <a href="http://www.kirsle.net/wizards/ttf2eot.cgi">TTF to EOT converter</a> to get both files. Then, upload the files to your server. For my purposes, the TTF and EOT files reside in my theme directory. However, you might make a folder such as &#8220;current-theme/fonts&#8221; if you use many fonts.</p>
<p>Secondly, you must specif the location of the file on your server and the name you&#8217;ll use for the font in your CSS like the following.</p>
<p><code>@font-face<br />
{<br />
font-family: MyFont;<br />
src: url('My-font.ttf'),<br />
url('My-font.eot'); /* IE9 */<br />
}</code></p>
<p>In this example,  we&#8217;re going to use the font name &#8220;MyFont&#8221; and the font files are calls &#8220;My-font.&#8221; They&#8217;re located in the same directory as the stylesheet.</p>
<p>The next step is to actually use the</p>
<p><code>h1<br />
{font-family: MyFont;</code><code>}</code></p>
<p>All my h1s will use &#8220;MyFont&#8221; as the face. I can now use MyFont as the face for any element within my stylesheet. It doesn&#8217;t matter whether the viewer has the original font file on her computer.</p>
<p>Now, not all mobile devices support this method even when they claim to support @font-face. This is the case with IE9 on Windows Phones, the stock browser on Android 2.1 and Symbian&#8217;s Nokia browser. However, Safari on iOS4 and greater, Android 2.2 stock browser and all browsers on Android 4.0 seem to be compatible. When the browser doesn&#8217;t understand @font-face, a default font will show  &#8212; either the system default (when you haven&#8217;t specified a body font) or the default font face you use for your body.</p>
<p>This is still better than nothing, of course.</p>
<p>Let me know how this works for you!</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="http://7and1.net/how-to-use-custom-fonts-on-your-website-in-all-browsers/">How to Use Custom Fonts on Your Website (In ALL Browsers)</a> appeared first on <a rel="nofollow" href="http://7and1.net">7and1.net</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">9263</post-id>	</item>
	</channel>
</rss>
