<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Convert em,px,pt and % in css</title>
	<atom:link href="http://sureshjain.wordpress.com/2007/07/06/53/feed/" rel="self" type="application/rss+xml" />
	<link>http://sureshjain.wordpress.com/2007/07/06/53/</link>
	<description>World of technicians.....................</description>
	<lastBuildDate>Wed, 11 Nov 2009 06:29:33 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: izdelava spletne strani</title>
		<link>http://sureshjain.wordpress.com/2007/07/06/53/#comment-2727</link>
		<dc:creator>izdelava spletne strani</dc:creator>
		<pubDate>Mon, 09 Nov 2009 19:58:31 +0000</pubDate>
		<guid isPermaLink="false">http://sureshjain.wordpress.com/2007/07/06/53/#comment-2727</guid>
		<description>Thanx fot this post, been looking around for this a long time. Really helpfull</description>
		<content:encoded><![CDATA[<p>Thanx fot this post, been looking around for this a long time. Really helpfull</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CSS References, Tutorials, Cheat Sheets, Conversion Tables and Short Codes : Speckyboy Design Magazine</title>
		<link>http://sureshjain.wordpress.com/2007/07/06/53/#comment-2726</link>
		<dc:creator>CSS References, Tutorials, Cheat Sheets, Conversion Tables and Short Codes : Speckyboy Design Magazine</dc:creator>
		<pubDate>Mon, 09 Nov 2009 16:03:22 +0000</pubDate>
		<guid isPermaLink="false">http://sureshjain.wordpress.com/2007/07/06/53/#comment-2726</guid>
		<description>[...] Convert em,px,pt and % in CSS [...]</description>
		<content:encoded><![CDATA[<p>[...] Convert em,px,pt and % in CSS [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shirley</title>
		<link>http://sureshjain.wordpress.com/2007/07/06/53/#comment-2725</link>
		<dc:creator>shirley</dc:creator>
		<pubDate>Mon, 09 Nov 2009 10:48:57 +0000</pubDate>
		<guid isPermaLink="false">http://sureshjain.wordpress.com/2007/07/06/53/#comment-2725</guid>
		<description>nice...
It helped me
Keep it up</description>
		<content:encoded><![CDATA[<p>nice&#8230;<br />
It helped me<br />
Keep it up</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brightshore Miami</title>
		<link>http://sureshjain.wordpress.com/2007/07/06/53/#comment-2723</link>
		<dc:creator>Brightshore Miami</dc:creator>
		<pubDate>Fri, 30 Oct 2009 18:18:22 +0000</pubDate>
		<guid isPermaLink="false">http://sureshjain.wordpress.com/2007/07/06/53/#comment-2723</guid>
		<description>Great post, not too many helpful resources on typography and usability on the web!</description>
		<content:encoded><![CDATA[<p>Great post, not too many helpful resources on typography and usability on the web!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nitin</title>
		<link>http://sureshjain.wordpress.com/2007/07/06/53/#comment-2701</link>
		<dc:creator>Nitin</dc:creator>
		<pubDate>Thu, 08 Oct 2009 15:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://sureshjain.wordpress.com/2007/07/06/53/#comment-2701</guid>
		<description>There is no clear cut relationship between EMs and pxs, because EM sizes are based relative to the size of the font, whereas px sizes are based relative to the screen resolution. Since those two elements are disparate, no exact correlation can be made.
There are ways, however, to get fairly close. One method is to set the base font size (the font-size property on the  element) to around 62.8%. This makes the base font, or 1.0em, approximately equal to 10px. It&#039;s not exact, and changes from font to font, but generally speaking it&#039;s pretty accurate. With that font setting in the body, you can use EMs as px equivalents like so...

1.0em = 10px 
1.1em = 11px 
1.2em = 12px 
2.0em = 20px 
5.0em = 50px 
etc.

There are a few caveats, however, the major one being that it isn&#039;t a precise conversion so elements that must be EXACTLY Xpx are unlikely to be so. The other big danger is that setting the base font this small makes IE text resizing somewhat problematic, as this 62.8% size becomes the &quot;meduim&quot; setting for IE. Since IE only allows two font-size increases (&quot;large&quot; and &quot;larger&quot;), those who need larger fonts may not get a big enough size to suit their needs. Likewise, sizing down to &quot;small&quot; or &quot;smaller&quot; makes text virtually unreadable.</description>
		<content:encoded><![CDATA[<p>There is no clear cut relationship between EMs and pxs, because EM sizes are based relative to the size of the font, whereas px sizes are based relative to the screen resolution. Since those two elements are disparate, no exact correlation can be made.<br />
There are ways, however, to get fairly close. One method is to set the base font size (the font-size property on the  element) to around 62.8%. This makes the base font, or 1.0em, approximately equal to 10px. It&#8217;s not exact, and changes from font to font, but generally speaking it&#8217;s pretty accurate. With that font setting in the body, you can use EMs as px equivalents like so&#8230;</p>
<p>1.0em = 10px<br />
1.1em = 11px<br />
1.2em = 12px<br />
2.0em = 20px<br />
5.0em = 50px<br />
etc.</p>
<p>There are a few caveats, however, the major one being that it isn&#8217;t a precise conversion so elements that must be EXACTLY Xpx are unlikely to be so. The other big danger is that setting the base font this small makes IE text resizing somewhat problematic, as this 62.8% size becomes the &#8220;meduim&#8221; setting for IE. Since IE only allows two font-size increases (&#8220;large&#8221; and &#8220;larger&#8221;), those who need larger fonts may not get a big enough size to suit their needs. Likewise, sizing down to &#8220;small&#8221; or &#8220;smaller&#8221; makes text virtually unreadable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abel Braaksma</title>
		<link>http://sureshjain.wordpress.com/2007/07/06/53/#comment-2697</link>
		<dc:creator>Abel Braaksma</dc:creator>
		<pubDate>Wed, 30 Sep 2009 17:16:17 +0000</pubDate>
		<guid isPermaLink="false">http://sureshjain.wordpress.com/2007/07/06/53/#comment-2697</guid>
		<description>(my previous tries received a &quot;discarded&quot; message, perhaps your spam bot is set too strictly..., you can email me if you know more)

Some thoughts: An em is dependent on the specifications in the font itself, there&#039;s no direct relation to pixel size. PPI is pixels per inch, which should be taken into account before doing any calculation (a Mac has 76 PPI, old Windows has 72, newer Windows have 96 ppi), this influences the size of the rendered font by large. Local settings (i.e., for people with bad visuals) can have an even smaller points per inch. 

The best thing is, eventually: test and find the correct factor for your specific font on your specific display and use that factor throughout. 

Perhaps of interest, but not fully related: &lt;a href=&quot;http://www.undermyhat.org/blog/2009/09/understanding-font-substitution-in-browsers/&quot; rel=&quot;nofollow&quot;&gt;font matching resolution by browsers&lt;/a&gt; which can influence the size of your glyphs unpredictably</description>
		<content:encoded><![CDATA[<p>(my previous tries received a &#8220;discarded&#8221; message, perhaps your spam bot is set too strictly&#8230;, you can email me if you know more)</p>
<p>Some thoughts: An em is dependent on the specifications in the font itself, there&#8217;s no direct relation to pixel size. PPI is pixels per inch, which should be taken into account before doing any calculation (a Mac has 76 PPI, old Windows has 72, newer Windows have 96 ppi), this influences the size of the rendered font by large. Local settings (i.e., for people with bad visuals) can have an even smaller points per inch. </p>
<p>The best thing is, eventually: test and find the correct factor for your specific font on your specific display and use that factor throughout. </p>
<p>Perhaps of interest, but not fully related: <a href="http://www.undermyhat.org/blog/2009/09/understanding-font-substitution-in-browsers/" rel="nofollow">font matching resolution by browsers</a> which can influence the size of your glyphs unpredictably</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rawraj</title>
		<link>http://sureshjain.wordpress.com/2007/07/06/53/#comment-2694</link>
		<dc:creator>rawraj</dc:creator>
		<pubDate>Fri, 25 Sep 2009 16:52:11 +0000</pubDate>
		<guid isPermaLink="false">http://sureshjain.wordpress.com/2007/07/06/53/#comment-2694</guid>
		<description>Thanks a lot m8
I always thought that pts and pixels displayed differently.(maybe because I never thought of using odd numbers in pixel sizes).
I would always convert 10pt to 12 pixel and would just assume that the browser is displaying the font &quot;weirdly&quot;
Well after reading this article i put Hello world wrapped in span tags and inline css next to each other.
Gave one span 10pt and other 13 px and found it was the exact same size.
So much for assumption(didnt someone say assumptions are the mother of all f#@#ups :-P)
Got to print this stuff and keep.
Helpful I get some stuff designed in corel draw and there they follow the point system.
I need to read up on why pts are better then pixels or is em the best?</description>
		<content:encoded><![CDATA[<p>Thanks a lot m8<br />
I always thought that pts and pixels displayed differently.(maybe because I never thought of using odd numbers in pixel sizes).<br />
I would always convert 10pt to 12 pixel and would just assume that the browser is displaying the font &#8220;weirdly&#8221;<br />
Well after reading this article i put Hello world wrapped in span tags and inline css next to each other.<br />
Gave one span 10pt and other 13 px and found it was the exact same size.<br />
So much for assumption(didnt someone say assumptions are the mother of all f#@#ups <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> )<br />
Got to print this stuff and keep.<br />
Helpful I get some stuff designed in corel draw and there they follow the point system.<br />
I need to read up on why pts are better then pixels or is em the best?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dean peters</title>
		<link>http://sureshjain.wordpress.com/2007/07/06/53/#comment-2638</link>
		<dc:creator>dean peters</dc:creator>
		<pubDate>Tue, 18 Aug 2009 18:01:04 +0000</pubDate>
		<guid isPermaLink="false">http://sureshjain.wordpress.com/2007/07/06/53/#comment-2638</guid>
		<description>Found a nice page that also provides conversions relative to the size you set for the BODY tag: http://PXtoEM.com</description>
		<content:encoded><![CDATA[<p>Found a nice page that also provides conversions relative to the size you set for the BODY tag: <a href="http://PXtoEM.com" rel="nofollow">http://PXtoEM.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hopelessly, I&#8217;ll Love You Endlessly &#187; Audio Rush</title>
		<link>http://sureshjain.wordpress.com/2007/07/06/53/#comment-2630</link>
		<dc:creator>Hopelessly, I&#8217;ll Love You Endlessly &#187; Audio Rush</dc:creator>
		<pubDate>Fri, 14 Aug 2009 09:16:56 +0000</pubDate>
		<guid isPermaLink="false">http://sureshjain.wordpress.com/2007/07/06/53/#comment-2630</guid>
		<description>[...] Px, em ,pt and % Calculator- This website was very useful when I was converting from px to percentage (%). The reason for converting is because if you use px and pt for your font and line-height measurements and it&#8217;s too small; the visitor won&#8217;t be able to enlarge your font in their browser. This is why it&#8217;s best to use % or em. The calculator isn&#8217;t 100% correct and it varies but it&#8217;s pretty easy to work out once you know how. [...]</description>
		<content:encoded><![CDATA[<p>[...] Px, em ,pt and % Calculator- This website was very useful when I was converting from px to percentage (%). The reason for converting is because if you use px and pt for your font and line-height measurements and it&#8217;s too small; the visitor won&#8217;t be able to enlarge your font in their browser. This is why it&#8217;s best to use % or em. The calculator isn&#8217;t 100% correct and it varies but it&#8217;s pretty easy to work out once you know how. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Girish</title>
		<link>http://sureshjain.wordpress.com/2007/07/06/53/#comment-2624</link>
		<dc:creator>Girish</dc:creator>
		<pubDate>Mon, 10 Aug 2009 05:00:04 +0000</pubDate>
		<guid isPermaLink="false">http://sureshjain.wordpress.com/2007/07/06/53/#comment-2624</guid>
		<description>The table is incorrect. You should atleast specify which font it applies to.</description>
		<content:encoded><![CDATA[<p>The table is incorrect. You should atleast specify which font it applies to.</p>
]]></content:encoded>
	</item>
</channel>
</rss>