<?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>Tue, 07 Sep 2010 21:49:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: The Css Ninja</title>
		<link>http://www.thecssninja.com/css/iphone-orientation-css/comment-page-1#comment-1665</link>
		<dc:creator>The Css Ninja</dc:creator>
		<pubDate>Tue, 06 Jul 2010 01:14:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=321#comment-1665</guid>
		<description>@Iraê - I agree there should be an option to do it. The native apps can, why not Safari? Having said that we should embrace orientation changes and utilise it to our advantage.

With the latest software for iPad and iPhone CSS orientation media queries (along with many other browsers) are supported so instead of using max/min-width we can use orientation:portrait/landscape in our CSS. I did a guest post about that subject on another blog for &lt;a href=&quot;http://www.1stwebdesigner.com/tutorials/how-to-use-css3-orientation-media-queries/&quot; rel=&quot;nofollow&quot;&gt;CSS3 media queries&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>@Iraê &#8211; I agree there should be an option to do it. The native apps can, why not Safari? Having said that we should embrace orientation changes and utilise it to our advantage.</p>
<p>With the latest software for iPad and iPhone CSS orientation media queries (along with many other browsers) are supported so instead of using max/min-width we can use orientation:portrait/landscape in our CSS. I did a guest post about that subject on another blog for <a href="http://www.1stwebdesigner.com/tutorials/how-to-use-css3-orientation-media-queries/" rel="nofollow">CSS3 media queries</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iraê</title>
		<link>http://www.thecssninja.com/css/iphone-orientation-css/comment-page-1#comment-1664</link>
		<dc:creator>Iraê</dc:creator>
		<pubDate>Mon, 05 Jul 2010 15:57:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=321#comment-1664</guid>
		<description>@John M, CSS Ninja

IMHO being unable to lock the mobile safari&#039;s orientation is a flaw to apple&#039;s or webkit mobile. They advocate HTML5 apps as a powerfull plataform, and for most cases it is. But for now we have to support both orientations, and we have no good way to make it really cross device.

It&#039;s a mess to detect iPhone, Android, and iPad orientations, widths and heights, and even the new pixel ratio in iPhone 4 - and make your webapp fit in all combinations. In fact, I&#039;ve not had the time to research and test all of these. It would be nice to have an article about that =)</description>
		<content:encoded><![CDATA[<p>@John M, CSS Ninja</p>
<p>IMHO being unable to lock the mobile safari&#8217;s orientation is a flaw to apple&#8217;s or webkit mobile. They advocate HTML5 apps as a powerfull plataform, and for most cases it is. But for now we have to support both orientations, and we have no good way to make it really cross device.</p>
<p>It&#8217;s a mess to detect iPhone, Android, and iPad orientations, widths and heights, and even the new pixel ratio in iPhone 4 &#8211; and make your webapp fit in all combinations. In fact, I&#8217;ve not had the time to research and test all of these. It would be nice to have an article about 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-1644</link>
		<dc:creator>The Css Ninja</dc:creator>
		<pubDate>Mon, 05 Jul 2010 02:49:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=321#comment-1644</guid>
		<description>@Jon M - No you can&#039;t lock the orientation in mobile Safari, the best you can do is display a message saying you need to be in portrait when the user is in landscape. But that would be a very annoying solution! You should educate your client on why it&#039;s bad and that it&#039;s actually not possible.</description>
		<content:encoded><![CDATA[<p>@Jon M &#8211; No you can&#8217;t lock the orientation in mobile Safari, the best you can do is display a message saying you need to be in portrait when the user is in landscape. But that would be a very annoying solution! You should educate your client on why it&#8217;s bad and that it&#8217;s actually not possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jordan</title>
		<link>http://www.thecssninja.com/css/iphone-orientation-css/comment-page-1#comment-1629</link>
		<dc:creator>jordan</dc:creator>
		<pubDate>Fri, 25 Jun 2010 11:08:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=321#comment-1629</guid>
		<description>does any one know how 2 get on n the way of the ninja 2???????????</description>
		<content:encoded><![CDATA[<p>does any one know how 2 get on n the way of the ninja 2???????????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Modern CSS Layouts, Part 2: The Essential Techniques &#124; Best Web Magazine</title>
		<link>http://www.thecssninja.com/css/iphone-orientation-css/comment-page-1#comment-1626</link>
		<dc:creator>Modern CSS Layouts, Part 2: The Essential Techniques &#124; Best Web Magazine</dc:creator>
		<pubDate>Thu, 24 Jun 2010 09:27:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=321#comment-1626</guid>
		<description>[...]  [...]</description>
		<content:encoded><![CDATA[<p>[...]  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frederick Weiss</title>
		<link>http://www.thecssninja.com/css/iphone-orientation-css/comment-page-1#comment-1606</link>
		<dc:creator>Frederick Weiss</dc:creator>
		<pubDate>Fri, 04 Jun 2010 18:23:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=321#comment-1606</guid>
		<description>This is just what I was looking for, THANK YOU!
min-width: 321px
max-width: 320px

So perfect.</description>
		<content:encoded><![CDATA[<p>This is just what I was looking for, THANK YOU!<br />
min-width: 321px<br />
max-width: 320px</p>
<p>So perfect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Milani</title>
		<link>http://www.thecssninja.com/css/iphone-orientation-css/comment-page-1#comment-1598</link>
		<dc:creator>Jon Milani</dc:creator>
		<pubDate>Tue, 25 May 2010 07:00:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=321#comment-1598</guid>
		<description>Is there a way to lock Mobile Safari&#039;s orientation to either portrait or landscape (via javascript or otherwise)? In other words, I want the web page to remain in portrait mode regardless of the orientation of the device.

The reason I ask is because I&#039;m designing an iPhone specific &quot;hello&quot; page for a client, and they want the page to lock to portrait (aka 320px by 480px) regardless of the actual orientation of the iPhone.

Any help would be very much appreciated!</description>
		<content:encoded><![CDATA[<p>Is there a way to lock Mobile Safari&#8217;s orientation to either portrait or landscape (via javascript or otherwise)? In other words, I want the web page to remain in portrait mode regardless of the orientation of the device.</p>
<p>The reason I ask is because I&#8217;m designing an iPhone specific &#8220;hello&#8221; page for a client, and they want the page to lock to portrait (aka 320px by 480px) regardless of the actual orientation of the iPhone.</p>
<p>Any help would be very much appreciated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: UT Web Developers &#124; Blog &#124; Usability &#38; CSS3</title>
		<link>http://www.thecssninja.com/css/iphone-orientation-css/comment-page-1#comment-1579</link>
		<dc:creator>UT Web Developers &#124; Blog &#124; Usability &#38; CSS3</dc:creator>
		<pubDate>Tue, 11 May 2010 16:58:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=321#comment-1579</guid>
		<description>[...] Determine iPhone orientation using CSS (The CSS Ninja) [...]</description>
		<content:encoded><![CDATA[<p>[...] Determine iPhone orientation using CSS (The CSS Ninja) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Modern CSS Layouts, Part 2: The Essential Techniques &#124; Creative Man Studio</title>
		<link>http://www.thecssninja.com/css/iphone-orientation-css/comment-page-1#comment-1576</link>
		<dc:creator>Modern CSS Layouts, Part 2: The Essential Techniques &#124; Creative Man Studio</dc:creator>
		<pubDate>Fri, 07 May 2010 18:08:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=321#comment-1576</guid>
		<description>[...]  [...]</description>
		<content:encoded><![CDATA[<p>[...]  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Modern CSS Layouts, Part 2: The Essential Techniques - Smashing Magazine</title>
		<link>http://www.thecssninja.com/css/iphone-orientation-css/comment-page-1#comment-1570</link>
		<dc:creator>Modern CSS Layouts, Part 2: The Essential Techniques - Smashing Magazine</dc:creator>
		<pubDate>Thu, 06 May 2010 13:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=321#comment-1570</guid>
		<description>[...]  [...]</description>
		<content:encoded><![CDATA[<p>[...]  [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
