<?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/"
	>

<channel>
	<title>Consilience Media &#187; monospace</title>
	<atom:link href="http://www.consil.co.uk/blog/tag/monospace/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.consil.co.uk</link>
	<description></description>
	<lastBuildDate>Thu, 12 Jan 2012 12:03:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Accessible font sizes</title>
		<link>http://www.consil.co.uk/blog/2008/12/29/font-sizes/</link>
		<comments>http://www.consil.co.uk/blog/2008/12/29/font-sizes/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 10:06:59 +0000</pubDate>
		<dc:creator>Phill Brown</dc:creator>
				<category><![CDATA[Styling]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[font size]]></category>
		<category><![CDATA[monospace]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.consil.co.uk/blog/?p=288</guid>
		<description><![CDATA[A quick note to developers that are styling elements that use monospace fonts (pre, code, q, etc). Be aware that some browsers, like Safari and Chrome, have their own fixed-width font size preference, which by default is set to 13px. This upsets proceedings when you apply a proportional (% or em) font-size to the body. There are three solutions to counter this problem: Apply font-size to each element separately Remove monospace from the font stack and treat it as a <a href="http://www.consil.co.uk/blog/2008/12/29/font-sizes/" title="Read more" class="sprite-wrapper arrow-green-right">...<span class="sprite"></span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-296" src="http://www.consil.co.uk/files/2008/12/font-sizes-29dec081.jpg" alt="font-sizes-29dec081" width="200" height="200" />A quick note to developers that are styling elements that use monospace fonts (pre, code, q, etc). Be aware that some browsers, like Safari and Chrome, have their own fixed-width font size preference, which by default is set to 13px. This upsets proceedings when you apply a proportional (% or em) font-size to the body.</p>
<p>There are three solutions to counter this problem:</p>
<ol>
<li>Apply font-size to each element separately</li>
<li>Remove monospace from the font stack and treat it as a variable spaced font</li>
<li>Use a fixed font size</li>
</ol>
<p>Firefox and Internet Explorer have a single default font size so you can&#8217;t apply a larger size to monospace elements.</p>
<p>On the same subject, Google Chrome users can also set different default sizes for their serif and sans-serif fonts. By default these are identical so it will not affect the styling for the majority of users.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.consil.co.uk/blog/2008/12/29/font-sizes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

