<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:at="http://www.sixapart.com/ns/at"
    xmlns:icbm="http://postneo.com/icbm"
    xmlns:rvw="http://purl.org/NET/RVW/0.2/"
    xmlns:media="http://search.yahoo.com/mrss">
    <channel>
        <title>vaniraja.com</title>
        <link>http://vani.vox.com/library/posts/tags/iphone/page/1/</link>
        <description>the fresh-from-the-corner-market VOX edition.</description>
        <language>en</language>
        <generator>Vox</generator>
        <lastBuildDate>Thu, 12 Jul 2007 16:25:31 -0700</lastBuildDate>
        <copyright>Copyright 2007</copyright>
        <docs>http://blogs.law.harvard.edu/tech/rss</docs> 
        <category domain="http://vani.vox.com/tags/">iphone</category>  
 
        <item>
            <title>quick n&#39; dirty styles for iPhone</title>
            <link>http://vani.vox.com/library/post/quick-n-dirty-styles-for-iphone.html?_c=feed-rss-full</link>   
            <author>nobody@vox.com(Vani)</author>
            <comments>http://vani.vox.com/library/post/quick-n-dirty-styles-for-iphone.html?_c=feed-rss-full</comments>
            <guid isPermaLink="true">http://vani.vox.com/library/post/quick-n-dirty-styles-for-iphone.html?_c=feed-rss-full</guid> 
            <pubDate>Thu, 12 Jul 2007 16:25:31 -0700</pubDate>         
            
            <description>    
    
    
    

    
    
    

    
    
    

    
    
    
&lt;div at:enclosure=&quot;asset&quot; at:xid=&quot;6a00c22520eeac604a00d4144db8a23c7f&quot; at:format=&quot;medium&quot; at:align=&quot;left&quot;
    class=&quot;enclosure enclosure-left enclosure-medium photo-enclosure&quot; 
     style=&quot;text-align: center; float: left;&quot;&gt;
&lt;div class=&quot;enclosure-inner&quot;
    
        style=&quot;padding: 9px; border: 1px solid; width: px; margin: 0 20px 20px 0;&quot;
    &gt;
    &lt;div class=&quot;enclosure-list&quot;&gt;
        &lt;div class=&quot;enclosure-item photo-asset last&quot;&gt;
    
            &lt;div class=&quot;enclosure-image&quot;&gt;
        
                &lt;a href=&quot;http://vani.vox.com/library/photo/6a00c22520eeac604a00d4144db8a23c7f.html&quot;&gt;&lt;img src=&quot;http://a2.vox.com/6a00c22520eeac604a00d4144db8a23c7f-200pi&quot; alt=&quot;&quot; title=&quot;&quot; /&gt;&lt;/a&gt;
        
            &lt;/div&gt;
            &lt;div class=&quot;enclosure-meta&quot;&gt;
                &lt;div class=&quot;enclosure-asset-name&quot;&gt;&lt;a href=&quot;http://vani.vox.com/library/photo/6a00c22520eeac604a00d4144db8a23c7f.html&quot; title=&quot;&quot;&gt;&lt;/a&gt;&lt;/div&gt;
            &lt;/div&gt;
    
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;!-- end enclosure --&gt;
&lt;p&gt;


I recently redesigned &lt;a href=&quot;http://www.webchic.net&quot;&gt;webchic.net&lt;/a&gt; and wanted to tweak the design to look good on the iPhone. While my first thought was to use a JS style switcher triggered by the iPhone&amp;#39;s unique WebKit referrer, I decided on a much simpler solution for now. &lt;/p&gt;&lt;pre&gt;&lt;pre&gt;&amp;lt;!--[if !IE]&amp;gt;--&amp;gt;&lt;br /&gt;&amp;lt;link media=&amp;quot;only screen and (max-device-width: 480px)&amp;quot;&lt;br /&gt;    href=&amp;quot;iPhone.css&amp;quot; type=&amp;quot;text/css&amp;quot; rel=&amp;quot;stylesheet&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;!--&amp;lt;![endif]--&amp;gt;&lt;/pre&gt;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Ultimately, only browsers that recognize &lt;em&gt;screen&lt;/em&gt; will understand &lt;em&gt;only&lt;/em&gt;, and only the iPhone fits the category of &lt;em&gt;max-device-width: 480px&lt;/em&gt;.&lt;/p&gt;&lt;p&gt;On a related side note, I&amp;#39;ve notice a lot of developers reciting &amp;quot;browser width 320px&amp;quot; in regards to iPhone development. This is a little misleading, since the tilted, horizontal iPhone screen is much more popular when surfing websites and is 480px wide.&lt;br /&gt;        
    
    
    

    
    
    
&lt;div at:enclosure=&quot;asset&quot; at:xid=&quot;6a00c22520eeac604a00d4144b50bd6a47&quot; at:format=&quot;large&quot; at:align=&quot;center&quot;
    class=&quot;enclosure enclosure-center enclosure-large photo-enclosure&quot; 
     style=&quot;text-align: center;&quot;&gt;
&lt;div class=&quot;enclosure-inner&quot;
    
        style=&quot;padding: 9px; border: 1px solid; width: px; margin: 10px auto;&quot;
    &gt;
    &lt;div class=&quot;enclosure-list&quot;&gt;
        &lt;div class=&quot;enclosure-item photo-asset last&quot;&gt;
    
            &lt;div class=&quot;enclosure-image&quot;&gt;
        
                &lt;a href=&quot;http://vani.vox.com/library/photo/6a00c22520eeac604a00d4144b50bd6a47.html&quot;&gt;&lt;img src=&quot;http://a5.vox.com/6a00c22520eeac604a00d4144b50bd6a47-320pi&quot; alt=&quot; webchic.net&quot; title=&quot; webchic.net&quot; /&gt;&lt;/a&gt;
        
            &lt;/div&gt;
            &lt;div class=&quot;enclosure-meta&quot;&gt;
                &lt;div class=&quot;enclosure-asset-name&quot;&gt;&lt;a href=&quot;http://vani.vox.com/library/photo/6a00c22520eeac604a00d4144b50bd6a47.html&quot; title=&quot; webchic.net&quot;&gt; webchic.net&lt;/a&gt;&lt;/div&gt;
            &lt;/div&gt;
    
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;!-- end enclosure --&gt;

&lt;br /&gt;&lt;pre style=&quot;&quot;&gt;&lt;br /&gt; &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/pre&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/p&gt;    &lt;p style=&quot;clear:both;&quot;&gt; 
    &lt;a href=&quot;http://vani.vox.com/library/post/quick-n-dirty-styles-for-iphone.html?_c=feed-rss-full#comments&quot;&gt;Read and post comments&lt;/a&gt;   |   
    &lt;a href=&quot;http://www.vox.com/share/6a00c22520eeac604a00d4144b50d26a47?_c=feed-rss-full&quot;&gt;Send to a friend&lt;/a&gt; 
&lt;/p&gt;
 
            </description> 
            <category domain="http://vani.vox.com/tags/">design</category> 
            <category domain="http://vani.vox.com/tags/">css</category> 
            <category domain="http://vani.vox.com/tags/">web development</category> 
            <category domain="http://vani.vox.com/tags/">iphone</category>    
        </item> 
    </channel>
</rss>

