<?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/"
		>
<channel>
	<title>Comments on: Determine iPhone orientation using CSS</title>
	<atom:link href="http://www.thecssninja.com/css/iphone-orientation-css/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thecssninja.com/css/iphone-orientation-css</link>
	<description>All things CSS, Javascript &#38; xhtml</description>
	<lastBuildDate>Wed, 10 Mar 2010 09:27:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: The Css Ninja</title>
		<link>http://www.thecssninja.com/css/iphone-orientation-css/comment-page-1#comment-1239</link>
		<dc:creator>The Css Ninja</dc:creator>
		<pubDate>Mon, 01 Mar 2010 05:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=321#comment-1239</guid>
		<description>@Iraê - Thank you.

&lt;blockquote&gt;1. Is there a way to filter just the iPhone out by CSS media queries? Something in the folowing fashion would be very usefull.
@media [some-code]{
/* IE6+ – Firefox 2+, Safari 3+ */
}&lt;/blockquote&gt;

There is nothing in CSS to filter out specific devices, you could however do something like:

&lt;pre lang=&quot;css&quot;&gt;
@media screen and (max-device-width: 480px) { ... }
&lt;/pre&gt;

In that media query you could then reset the styles for devices with a max width of 480px i.e. the iPhone.

&lt;blockquote&gt;2. Is there any problem with newer handhelds, like hte NexusOne, because of it’s higher resosution? Have anyone tryed (min-width: 321px) and (max-width: 320px) on them?&lt;/blockquote&gt;

Hopefully the newer smart phones with the superior browsers will support the orientation media query. I believe Firefox mobile already does. 

Instead of doing (min-width: 321px) and (max-width: 320px) you would do the following:

&lt;pre lang=&quot;css&quot;&gt;
/* Portrait */
@media screen and (orientation:portrait) { ... }
/* Landscape */
@media screen and (orientation:landscape) { ... }
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>@Iraê &#8211; Thank you.</p>
<blockquote><p>1. Is there a way to filter just the iPhone out by CSS media queries? Something in the folowing fashion would be very usefull.<br />
@media [some-code]{<br />
/* IE6+ – Firefox 2+, Safari 3+ */<br />
}</p></blockquote>
<p>There is nothing in CSS to filter out specific devices, you could however do something like:</p>

<div class="wp_syntax"><div class="code"><pre class="css css" style="font-family:monospace;"><span style="color: #a1a100;">@media screen and (max-device-width: 480px) { ... }</span></pre></div></div>

<p>In that media query you could then reset the styles for devices with a max width of 480px i.e. the iPhone.</p>
<blockquote><p>2. Is there any problem with newer handhelds, like hte NexusOne, because of it’s higher resosution? Have anyone tryed (min-width: 321px) and (max-width: 320px) on them?</p></blockquote>
<p>Hopefully the newer smart phones with the superior browsers will support the orientation media query. I believe Firefox mobile already does. </p>
<p>Instead of doing (min-width: 321px) and (max-width: 320px) you would do the following:</p>

<div class="wp_syntax"><div class="code"><pre class="css css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* Portrait */</span>
<span style="color: #a1a100;">@media screen and (orientation:portrait) { ... }</span>
<span style="color: #808080; font-style: italic;">/* Landscape */</span>
<span style="color: #a1a100;">@media screen and (orientation:landscape) { ... }</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: Iraê</title>
		<link>http://www.thecssninja.com/css/iphone-orientation-css/comment-page-1#comment-1238</link>
		<dc:creator>Iraê</dc:creator>
		<pubDate>Mon, 01 Mar 2010 05:03:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=321#comment-1238</guid>
		<description>Nice article!

Solved some things for me, but left me with 2 questions =)

1. Is there a way to filter just the iPhone out by CSS media queries? Something in the folowing fashion would be very usefull.
@media [some-code]{
    /* IE6+ - Firefox 2+, Safari 3+ */
}

2. Is there any problem with newer handhelds, like hte NexusOne, because of it&#039;s higher resosution? Have anyone tryed (min-width: 321px) and (max-width: 320px) on them?</description>
		<content:encoded><![CDATA[<p>Nice article!</p>
<p>Solved some things for me, but left me with 2 questions =)</p>
<p>1. Is there a way to filter just the iPhone out by CSS media queries? Something in the folowing fashion would be very usefull.<br />
@media [some-code]{<br />
    /* IE6+ &#8211; Firefox 2+, Safari 3+ */<br />
}</p>
<p>2. Is there any problem with newer handhelds, like hte NexusOne, because of it&#8217;s higher resosution? Have anyone tryed (min-width: 321px) and (max-width: 320px) on them?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Euan</title>
		<link>http://www.thecssninja.com/css/iphone-orientation-css/comment-page-1#comment-965</link>
		<dc:creator>Euan</dc:creator>
		<pubDate>Sun, 08 Nov 2009 17:26:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=321#comment-965</guid>
		<description>Thanks for that.</description>
		<content:encoded><![CDATA[<p>Thanks for that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Css Ninja</title>
		<link>http://www.thecssninja.com/css/iphone-orientation-css/comment-page-1#comment-964</link>
		<dc:creator>The Css Ninja</dc:creator>
		<pubDate>Sun, 08 Nov 2009 11:04:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=321#comment-964</guid>
		<description>@Euan - Cheers. This media query support has been available since 1.0 so it will work across the board. I don&#039;t have an iPhone running OS1.0 so I haven&#039;t tested the demo, but according to Apples documentation CSS3 media queries have been supported since 1.0</description>
		<content:encoded><![CDATA[<p>@Euan &#8211; Cheers. This media query support has been available since 1.0 so it will work across the board. I don&#8217;t have an iPhone running OS1.0 so I haven&#8217;t tested the demo, but according to Apples documentation CSS3 media queries have been supported since 1.0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Euan</title>
		<link>http://www.thecssninja.com/css/iphone-orientation-css/comment-page-1#comment-963</link>
		<dc:creator>Euan</dc:creator>
		<pubDate>Sat, 07 Nov 2009 11:13:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=321#comment-963</guid>
		<description>This works like a dream! Thank you.

Do you happen to know if it works with pre 3.0 iPhones?</description>
		<content:encoded><![CDATA[<p>This works like a dream! Thank you.</p>
<p>Do you happen to know if it works with pre 3.0 iPhones?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Determine iPhone orientation using CSS &#124; The CSS Ninja - All &#8230;</title>
		<link>http://www.thecssninja.com/css/iphone-orientation-css/comment-page-1#comment-302</link>
		<dc:creator>Determine iPhone orientation using CSS &#124; The CSS Ninja - All &#8230;</dc:creator>
		<pubDate>Tue, 30 Jun 2009 04:25:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=321#comment-302</guid>
		<description>[...] more: Determine iPhone orientation using CSS &#124; The CSS Ninja - All &#8230;   Share and [...]</description>
		<content:encoded><![CDATA[<p>[...] more: Determine iPhone orientation using CSS | The CSS Ninja &#8211; All &#8230;   Share and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Twitted by doodersrage</title>
		<link>http://www.thecssninja.com/css/iphone-orientation-css/comment-page-1#comment-301</link>
		<dc:creator>Twitted by doodersrage</dc:creator>
		<pubDate>Mon, 29 Jun 2009 16:41:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=321#comment-301</guid>
		<description>[...] This post was Twitted by doodersrage [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was Twitted by doodersrage [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
