<?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: iPhone CSS&#8212;tips for building iPhone websites</title>
	<atom:link href="http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/feed/" rel="self" type="application/rss+xml" />
	<link>http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 29 Jul 2010 10:38:44 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Victor Reyes</title>
		<link>http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/comment-page-1/#comment-2261</link>
		<dc:creator>Victor Reyes</dc:creator>
		<pubDate>Thu, 27 May 2010 21:24:52 +0000</pubDate>
		<guid isPermaLink="false">http://csswizardry.com/?p=489#comment-2261</guid>
		<description>Thanks for the tips. How do i create a &quot;view full site&quot; link without the iphone redirecting me to the mobile site again?</description>
		<content:encoded><![CDATA[<p>Thanks for the tips. How do i create a &#8220;view full site&#8221; link without the iphone redirecting me to the mobile site again?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lemonrock Editor</title>
		<link>http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/comment-page-1/#comment-2089</link>
		<dc:creator>Lemonrock Editor</dc:creator>
		<pubDate>Wed, 19 May 2010 13:47:48 +0000</pubDate>
		<guid isPermaLink="false">http://csswizardry.com/?p=489#comment-2089</guid>
		<description>Your code for browser checking should be:

&lt;?php
if (strpos($_SERVER[&#039;HTTP_USER_AGENT&#039;], &quot;iPhone&quot;) !== false) {
  $isIphone = true;
}
else {
  $isIphone = false;
}

...

if ($isIphone) {
  (... iPhone specific code...)
}
?&gt;

strpos returns either a positive integer ( &gt;= 0) or, if the string is not found, false. See:

http://php.net/manual/en/function.strpos.php</description>
		<content:encoded><![CDATA[<p>Your code for browser checking should be:</p>
<p>&lt;?php<br />
if (strpos($_SERVER['HTTP_USER_AGENT'], &#8220;iPhone&#8221;) !== false) {<br />
  $isIphone = true;<br />
}<br />
else {<br />
  $isIphone = false;<br />
}</p>
<p>&#8230;</p>
<p>if ($isIphone) {<br />
  (&#8230; iPhone specific code&#8230;)<br />
}<br />
?&gt;</p>
<p>strpos returns either a positive integer ( &gt;= 0) or, if the string is not found, false. See:</p>
<p><a href="http://php.net/manual/en/function.strpos.php" rel="nofollow">http://php.net/manual/en/function.strpos.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pietro</title>
		<link>http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/comment-page-1/#comment-1968</link>
		<dc:creator>Pietro</dc:creator>
		<pubDate>Wed, 12 May 2010 21:46:04 +0000</pubDate>
		<guid isPermaLink="false">http://csswizardry.com/?p=489#comment-1968</guid>
		<description>If you read my comment and are in my same situation, then read here http://cubiq.org/scrolling-div-on-iphone-ipod-touch/5#how-to-use-the-script Apparently this works.</description>
		<content:encoded><![CDATA[<p>If you read my comment and are in my same situation, then read here <a href="http://cubiq.org/scrolling-div-on-iphone-ipod-touch/5#how-to-use-the-script" rel="nofollow">http://cubiq.org/scrolling-div-on-iphone-ipod-touch/5#how-to-use-the-script</a> Apparently this works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harry Roberts</title>
		<link>http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/comment-page-1/#comment-1963</link>
		<dc:creator>Harry Roberts</dc:creator>
		<pubDate>Wed, 12 May 2010 13:54:34 +0000</pubDate>
		<guid isPermaLink="false">http://csswizardry.com/?p=489#comment-1963</guid>
		<description>Pietro,
As far as I know there is no way of getting position:fixed; to work in Mobile Safari... This Stack Overflow article may be of some use though: http://stackoverflow.com/questions/743123/fixed-positioning-in-mobilesafari

Harry</description>
		<content:encoded><![CDATA[<p>Pietro,<br />
As far as I know there is no way of getting position:fixed; to work in Mobile Safari&#8230; This Stack Overflow article may be of some use though: <a href="http://stackoverflow.com/questions/743123/fixed-positioning-in-mobilesafari" rel="nofollow">http://stackoverflow.com/questions/743123/fixed-positioning-in-mobilesafari</a></p>
<p>Harry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pietro</title>
		<link>http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/comment-page-1/#comment-1954</link>
		<dc:creator>Pietro</dc:creator>
		<pubDate>Wed, 12 May 2010 03:09:35 +0000</pubDate>
		<guid isPermaLink="false">http://csswizardry.com/?p=489#comment-1954</guid>
		<description>I&#039;m having troubles getting my iPhone to display correctly pages that use the &quot;position:fixed&quot; property. Do you guys have any suggestion, or are you aware of any known issue related to what I&#039;m experiencing?
Thanks</description>
		<content:encoded><![CDATA[<p>I&#8217;m having troubles getting my iPhone to display correctly pages that use the &#8220;position:fixed&#8221; property. Do you guys have any suggestion, or are you aware of any known issue related to what I&#8217;m experiencing?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy</title>
		<link>http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/comment-page-1/#comment-1648</link>
		<dc:creator>Jimmy</dc:creator>
		<pubDate>Mon, 26 Apr 2010 00:08:09 +0000</pubDate>
		<guid isPermaLink="false">http://csswizardry.com/?p=489#comment-1648</guid>
		<description>Great article. I am about to help a client set up his website on iphone and I will keep this in mind. Any suggestions on how to handle movies on the iphone. I know the IPOD doesn&#039;t take flash so I am wondering what the best options are.</description>
		<content:encoded><![CDATA[<p>Great article. I am about to help a client set up his website on iphone and I will keep this in mind. Any suggestions on how to handle movies on the iphone. I know the IPOD doesn&#8217;t take flash so I am wondering what the best options are.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/comment-page-1/#comment-1436</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Tue, 13 Apr 2010 17:19:19 +0000</pubDate>
		<guid isPermaLink="false">http://csswizardry.com/?p=489#comment-1436</guid>
		<description>Any tips for clearing CSS from an iPod Touch?  The CSS seems to be solidly cached--clearing Safari history, cookies, and cache has no effect, even after force-quitting Safari and restarting the iTouch.</description>
		<content:encoded><![CDATA[<p>Any tips for clearing CSS from an iPod Touch?  The CSS seems to be solidly cached&#8211;clearing Safari history, cookies, and cache has no effect, even after force-quitting Safari and restarting the iTouch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Al</title>
		<link>http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/comment-page-1/#comment-1199</link>
		<dc:creator>Al</dc:creator>
		<pubDate>Tue, 30 Mar 2010 19:01:17 +0000</pubDate>
		<guid isPermaLink="false">http://csswizardry.com/?p=489#comment-1199</guid>
		<description>Thank you for your article, as it helped me create a mobile site for my iPod Touch. The top and bottom margins were always present no matter what I did to get rid of them, so I put my header as an image in tthe background rather than a real header, making the site look much better.

http://egoinc.netai.net/mHome.htm</description>
		<content:encoded><![CDATA[<p>Thank you for your article, as it helped me create a mobile site for my iPod Touch. The top and bottom margins were always present no matter what I did to get rid of them, so I put my header as an image in tthe background rather than a real header, making the site look much better.</p>
<p><a href="http://egoinc.netai.net/mHome.htm" rel="nofollow">http://egoinc.netai.net/mHome.htm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 10+ useful code snippets to develop iPhone friendly websites</title>
		<link>http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/comment-page-1/#comment-657</link>
		<dc:creator>10+ useful code snippets to develop iPhone friendly websites</dc:creator>
		<pubDate>Mon, 01 Mar 2010 15:30:08 +0000</pubDate>
		<guid isPermaLink="false">http://csswizardry.com/?p=489#comment-657</guid>
		<description>[...] CSS file.@media screen and (max-device-width: 480px){ /* All iPhone only CSS goes here */ }Source: http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/Automatically re-size images for iPhonesOn recent websites, most images are above 480 pixels wide. [...]</description>
		<content:encoded><![CDATA[<p>[...] CSS file.@media screen and (max-device-width: 480px){ /* All iPhone only CSS goes here */ }Source: <a href="http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/Automatically" rel="nofollow">http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/Automatically</a> re-size images for iPhonesOn recent websites, most images are above 480 pixels wide. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel Silva</title>
		<link>http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/comment-page-1/#comment-646</link>
		<dc:creator>Gabriel Silva</dc:creator>
		<pubDate>Mon, 01 Mar 2010 02:15:53 +0000</pubDate>
		<guid isPermaLink="false">http://csswizardry.com/?p=489#comment-646</guid>
		<description>Just found this WP Plugin for mobile devices visualisation:
http://www.bravenewcode.com/products/wptouch/

I haven&#039;t tested yet but it seems to work pretty good. Might be helpful.</description>
		<content:encoded><![CDATA[<p>Just found this WP Plugin for mobile devices visualisation:<br />
<a href="http://www.bravenewcode.com/products/wptouch/" rel="nofollow">http://www.bravenewcode.com/products/wptouch/</a></p>
<p>I haven&#8217;t tested yet but it seems to work pretty good. Might be helpful.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
