<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
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:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>CSSKarma &#187; mobile</title> <atom:link href="http://www.csskarma.com/blog/tag/mobile/feed/" rel="self" type="application/rss+xml" /><link>http://www.csskarma.com/blog</link> <description>display your style</description> <lastBuildDate>Tue, 31 Jan 2012 15:18:44 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>The Problem with Media Queries</title><link>http://www.csskarma.com/blog/the-problem-with-media-queries/</link> <comments>http://www.csskarma.com/blog/the-problem-with-media-queries/#comments</comments> <pubDate>Tue, 31 Jan 2012 14:01:03 +0000</pubDate> <dc:creator>Tim</dc:creator> <category><![CDATA[Interaction Design]]></category> <category><![CDATA[CSS]]></category> <category><![CDATA[media]]></category> <category><![CDATA[mobile]]></category><guid
isPermaLink="false">http://www.csskarma.com/blog/?p=1042</guid> <description><![CDATA[I finally got around to reading the new article on A List Apart this morning , &#8220;A Pixel Identity Crisis&#8220;. It basically talks about how some pixels are defined differently than others (based on the &#8220;reference pixel&#8221;), so there can be variations in how 2 devices (Galaxy  Tab and Kindle Fire given as examples in the [...]]]></description> <content:encoded><![CDATA[<p>I finally got around to reading the new article on A List Apart this morning , &#8220;<a
href="http://www.alistapart.com/articles/a-pixel-identity-crisis/">A Pixel Identity Crisis</a>&#8220;. It basically talks about how some pixels are defined differently than others (based on the &#8220;reference pixel&#8221;), so there can be variations in how 2 devices (Galaxy  Tab and Kindle Fire given as examples in the article) with the exact same dimensions can display responsive content differently. A solution was proposed in the form of this absurdly complex media query:</p><pre><code>@media screen and (device-pixel-ratio: 1.5) and (device-width: 683px) and (orientation: landscape), screen and (device-pixel-ratio: 1.5) and (device-width: 400px) and (orientation: portrait) { /* css */ }</code></pre><p>And that&#8217;s not even the whole thing, you still need vendor prefixes to get it to work.<strong> This brings me to my point.</strong></p><p>This intense form of a media query is getting dangerously close to targeting a specific device, which defeats the entire point of responsive design. It&#8217;s all about setting breakpoints, but if your breakpoints get too granular, it&#8217;s no better than targeting an iPhone directly. We have starting points because you need to have starting points, something like 800px, 480px, 320px, right? Typical breakpoints for your media queries. We&#8217;re missing the mark a little with using them out of the box like that though.</p><p><em>Not to point blame at any boilerplates, I think they&#8217;re actually really great to get you started, but when you use them out of the box, you start to get in trouble. They&#8217;re meant to be customized. &#8212; and wow, at least change that pink highlight.</em></p><p>The intention of breakpoints is to identify points where your design gets a little messed up, let&#8217;s say at 600px wide your design gets too cramped. In that case your first breakpoint would be at 600px. It&#8217;s different for every design. If you follow that basic model, you don&#8217;t have to worry about what a reference pixel for a device is. If the resolution for a device is 800px and your breakpoint is at 600px, it will look at intended. <strong>Don&#8217;t worry so much, you&#8217;re already doing it right</strong>.</p><p>As some may know, I&#8217;ve been writing a JavaScript book and I&#8217;ve been studying a lot of the basic history of the Web. Since its early conception we (as a community) have been hacking things together to deal with a device market that is struggling to get its sea legs. Normally what happens is that we&#8217;ll have a period of instability followed by developers &amp; designers scrambling to rethink what they do and hacking something together to make it 100%, then it will get standardized and all the work you did to take a project from 95% to 100% is seen as a pile of dirty hacks (anyone remember the war between JavaScript and jScript?).</p><p><em>Now we use something called <a
href="http://www.modernizr.com/">feature detection</a>, which is <strong>a million times better</strong>.</em></p><p>When you work in the browser vs. on the server there are certain things you can&#8217;t control and you need to manage bottlenecks in the process rather than forcing control over an uncontrollable situation. The devices will do what they&#8217;ll do and if you try and plan for them all you&#8217;ll:</p><ol><li>Go insane</li><li>Go broke purchasing all the devices</li><li>Create so much extra code that it will be unmanageable</li><li>Bog down performance</li><li>Ruin your JavaScript</li><li>Get to a point where it&#8217;s more efficient to detect for a device and serve up new markup on the server (<strong>and nobody wants crap that again</strong>)</li></ol><p>What the moral of the story? I don&#8217;t know, <strong>stop over-thinking everything</strong>. It&#8217;s great to explore new stuff, but even better when you can recognize when new stuff isn&#8217;t that much better than the old stuff.</p> ]]></content:encoded> <wfw:commentRss>http://www.csskarma.com/blog/the-problem-with-media-queries/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Books that made me a better designer</title><link>http://www.csskarma.com/blog/books/</link> <comments>http://www.csskarma.com/blog/books/#comments</comments> <pubDate>Fri, 07 May 2010 17:46:26 +0000</pubDate> <dc:creator>Tim</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[ajax]]></category> <category><![CDATA[books]]></category> <category><![CDATA[CSS]]></category> <category><![CDATA[learning]]></category> <category><![CDATA[mobile]]></category> <category><![CDATA[sketching]]></category> <category><![CDATA[ui]]></category><guid
isPermaLink="false">http://www.csskarma.com/blog/?p=819</guid> <description><![CDATA[This is a list of books that have had a big impact on the way I design &#38; developer Web sites. A lot of the content in books now-a-days can be found on various blogs, but the books below all have something in them that I really haven&#8217;t been able to find anywhere else. Transcending [...]]]></description> <content:encoded><![CDATA[<p>This is a list of books that have had a big impact on the way I design &amp; developer Web sites. A lot of the content in books now-a-days can be found on various blogs, but the books below all have something in them that I really haven&#8217;t been able to find anywhere else.</p><div
class="book"><h3>Transcending CSS</h3><p><img
src="http://www.csskarma.com/images/transcendingcss.jpg" alt="Transcending CSS book cover" /></p><p
class="author"><a
href="http://www.stuffandnonsense.co.uk/">Andy Clarke</a></p><p
class="desc">Andy&#8217;s book is obviously very technically good and well written. I certainly got a lot of information like that out of it, but at this point you can find most of it on various blogs. My biggest take away was how Andy spoke about semantics. Specifically using IDs like &#8220;branding&#8221; and &#8220;site-info&#8221; rather than &#8220;header&#8221; and &#8220;footer&#8221;. Up to that point I had just been using &#8220;header&#8221; and &#8220;footer&#8221; because it was how it was done at the time. Andy got me thinking heavily about semantics and naming schema and also opened up a lot of doors for me to really examine how I put together a site instead of blindly do it because it&#8217;s what I&#8217;ve heard is the best.</p></div><p>&nbsp;</p><div
class="book"><h3>Bulletproof Ajax</h3><p><img
src="http://www.csskarma.com/images/bulletproofajax.jpg" alt="Bulletproof Ajax book cover" /></p><p
class="author"><a
href="http://adactio.com/">Jeremy Keith</a></p><p
class="desc">I read this book right around the time I began playing with <a
href="http://jquery.com">jQuery</a> and it made me realize that, however great a library like jQuery may be, it won&#8217;t be around forever and if I don&#8217;t learn how it really works, I&#8217;ll be screwed when it finally disappears like so many other Web technologies. In <em>Bulletproof Ajax</em> I learned how exactly the XMLHTTPRequest worked, what jQuery was doing, and how it made it so easy to work with, all while keeping Web standards in sight and never putting something together that couldn&#8217;t function without JavaScript.</p></div><p>&nbsp;</p><div
class="book"><h3>101 Things I Learned in Architecture School</h3><p><img
src="http://www.csskarma.com/images/101things.jpg" alt="101 Things I Learned in Architecture School book cover" /></p><p
class="author"><a
href="http://www.frederickdesignstudio.com/">Matthew Frederick</a></p><p
class="desc">Drawing lines seems like a stupid thing to want to learn, but that&#8217;s what this book effectively taught me. I learned the importance of some very basic design principles and how to effectively communicate those ideas to others through certain shapes and sketching techniques. <strong>This is a great book</strong>. I really got into it after a talk by <a
href="http://www.lukew.com/">Luke Wroblewski</a> at the Web App Summit in Newport Beach.</p></div><p>&nbsp;</p><div
class="book"><h3>Mobile Web Design</h3><p><img
src="http://www.csskarma.com/images/mobilewebdesign.jpg" alt="Mobile Web Design book cover" /></p><p
class="author"><a
href="http://cameronmoll.tumblr.com/">Cameron Moll</a></p><p
class="desc">The first book to really spark my interest in the Mobile Web. Ever since reading it I&#8217;ve felt like I have a slight edge whenever beginning a project with mobile requirements. Most mobile books now focus on intense graphics and acceleration of devices like the iPhone. In <em>Mobile Web Design</em>, Cameron talks about a plethora of devices and focuses on Web standards rather than cool things you can do.</p></div><p>Obviously, I highly recommend all those these books, as they&#8217;ve had a pretty large impact on me as a designer &amp; a developer. The best part about them is that they&#8217;re all pretty easy reads, they&#8217;re not the kind of books you have to spend a week or 2 reading.</p><p>Does anyone else have books like this? Or do we all just read blogs now?</p> ]]></content:encoded> <wfw:commentRss>http://www.csskarma.com/blog/books/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Setting your Apple icon</title><link>http://www.csskarma.com/blog/setting-your-apple-icon/</link> <comments>http://www.csskarma.com/blog/setting-your-apple-icon/#comments</comments> <pubDate>Wed, 01 Oct 2008 23:18:53 +0000</pubDate> <dc:creator>Tim</dc:creator> <category><![CDATA[Browsers]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[iphone]]></category> <category><![CDATA[ipod]]></category> <category><![CDATA[mobile]]></category><guid
isPermaLink="false">http://www.csskarma.com/blog/?p=143</guid> <description><![CDATA[Getting your own iPhone app icon is easier than you&#8217;d think. I was recently working on a project where the client wanted to make sure that if a user added his site to their iPhone home screen, there would be a pleasing icon. Apple used a lot of forward thinking when they implemented the apple-touch-icon. [...]]]></description> <content:encoded><![CDATA[<p><img
src="http://www.csskarma.com/images/articles/setting-your-apple-icon.jpg" alt="article banner"/></p><p>Getting your own iPhone app icon is easier than you&#8217;d think. I was recently working on a project where the client wanted to make sure that if a user added his site to their iPhone home screen, there would be a pleasing icon.</p><p>Apple used a lot of forward thinking when they implemented the apple-touch-icon. It&#8217;s treated very much the same way a favicon is treated. There are 2 ways to set your Apple icon.</p><ul><li>You can simply put a file called apple-touch-icon.png in your root directory</li><li>You can put the icon where ever you&#8217;d like and link to it in your document head element</li></ul><p>I&#8217;m one of those people who prefers to do a combination of both to make sure it gets set. I put apple-touch-icon.png in my root directory and also link to it with the following code.</p><h5>Apple icon code</h5><pre><code>&lt;link rel="apple-touch-icon" href="apple-touch-icon.png" /&gt;</pre><p></code></p><p>That will make sure it gets set.</p><h4>Icon specs</h4><p>The great thing about this is that you don't need to dress up your icon to match the iPhone theme. The software will round your corners and add the nice glossy effect for you.</p><p>Like the favicon, the Apple touch icon has a size requirement. Your icon must be 45x45 pixels to properly fit. I haven't tried to do it any other way; my gut tells that it would either crop the icon or squish it down the size.</p><h4>In action</h4><p>This is the Apple icon for csskarma.com:</p><p><img
src="http://www.csskarma.com/apple-touch-icon.png" alt="csskarma apple icon" class="block"/></p><p>Note that the corners are not rounded and I didn't add the Apple gloss.</p><p>In bookmarking a site on the iPhone/iPod you can &quot;Add to Home Screen&quot;. This makes the bookmark look much like and app with the shiny icon and whatnot.</p><p><img
src="http://www.csskarma.com/images/articles/add-to-home-screen.jpg" alt="iPhone menu - add link to home screen" class="block"/></p><p>Then your new Apple icon shows up on the home screen</p><p><img
src="http://www.csskarma.com/images/articles/iphone-home-screen.jpg" alt="iphone home screen" class="block"/></p><p>A brilliant and easy bit of marketing for a site that anyone can jump on board with... you may want to dress yours up a bit more.</p> ]]></content:encoded> <wfw:commentRss>http://www.csskarma.com/blog/setting-your-apple-icon/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>This Week in Links 9/29</title><link>http://www.csskarma.com/blog/this-week-in-links-5/</link> <comments>http://www.csskarma.com/blog/this-week-in-links-5/#comments</comments> <pubDate>Mon, 29 Sep 2008 16:07:11 +0000</pubDate> <dc:creator>Tim</dc:creator> <category><![CDATA[News]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[android]]></category> <category><![CDATA[business]]></category> <category><![CDATA[google]]></category> <category><![CDATA[iphone]]></category> <category><![CDATA[jquery]]></category> <category><![CDATA[mobile]]></category> <category><![CDATA[pownce]]></category> <category><![CDATA[startup]]></category><guid
isPermaLink="false">http://www.csskarma.com/blog/?p=118</guid> <description><![CDATA[jQuery Seek Attention Plugin The jQuery seek plugin is very cool. It goes along with the css psuedo class &#34;target&#34;. It&#8217;ll highlight an area on the page onClick and ca bring a great pop to a page. Give this one a try, I could see this being very useful for those long FAQ lists.]]></description> <content:encoded><![CDATA[<p><img
src="http://www.csskarma.com/images/articles/this-week-in-links.jpg" alt="article banner"/></p><h5><a
href="http://enhance.qd-creative.co.uk/demo/seekAttention/" rel="external"> jQuery Seek Attention Plugin</a></h5><p>The jQuery seek plugin is very cool. It goes along with the css psuedo class &quot;target&quot;. It&#8217;ll highlight an area on the page onClick and ca bring a great pop to a page. Give this one a try, I could see this being very useful for those long FAQ lists.</p><h5><a
href=http://www.youtube.com/watch?v=rPIHeIRRDow&#038;eurl=http://www.readwriteweb.com/archives/rww_predictions_googles_android_vs_apples_iphone.php" rel="external">Google&#8217;s android vs the iPhone</a></h5><p>With the release of Google&#8217;s android phone, there are already comparisons to the iPhone. This video lays it out real nice and tells you what you have to look forward to with Android.</p><h5><a
href="http://startonomics.com/blog/the-startup-think-tank-how-to-avoid-the-pownce-effect/" rel="external">Avoiding the Pownce Effect</a></h5><p>There seems to be more and more twitter&ndash;killer sites out there and, for the most part, they all fail. This article takes a look at why Twitter is so powerful and some things to avoid.</p><h5><a
href="http://muelface.com/2008/09/26/3-classes-that-should-be-in-all-of-your-stylesheets/" rel="external">3 CSS classes you should all have</a></h5><p>Let me save you some time: .left, .right and .clear. This is something most are already including, but I always think it&#8217;s helpful to see what others are doing.</p> ]]></content:encoded> <wfw:commentRss>http://www.csskarma.com/blog/this-week-in-links-5/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Quick iPhone Media Detection</title><link>http://www.csskarma.com/blog/quick-iphone-media-detection/</link> <comments>http://www.csskarma.com/blog/quick-iphone-media-detection/#comments</comments> <pubDate>Tue, 17 Jun 2008 19:20:57 +0000</pubDate> <dc:creator>Tim</dc:creator> <category><![CDATA[Browsers]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[firefox]]></category> <category><![CDATA[iphone]]></category> <category><![CDATA[mobile]]></category> <category><![CDATA[php]]></category><guid
isPermaLink="false">http://www.csskarma.com/blog/?p=67</guid> <description><![CDATA[I finally got around to reading David Shea&#8217;s post on MediaTyping today and as I was going through it, I asked myself if all the PHP he was using was really necessary. It sure wasn&#8217;t for what I wanted to do. I just wanted to detect an iPhone or iPod to test out some interfaces. [...]]]></description> <content:encoded><![CDATA[<p>I finally got around to reading <a
href="http://mezzoblue.com/archives/2008/03/18/mediatyping/" rel="external">David Shea&#8217;s post on MediaTyping</a> today and as I was going through it, I asked myself if all the PHP he was using was really necessary. It sure wasn&#8217;t for what I wanted to do. I just wanted to detect an iPhone or iPod to test out some interfaces.</p><p>I did some digging around after that and came across a short post on <a
href="http://www.iphoneappr.com/howto.php?id=1" rel="external">iPhoneAppr</a> about how to auto-detect a browser based on the user agent (what is essentially the browser).</p><h4>The HTTP User Agent</h4><p>When you visit a web page, your user agent changes based on the media you&#8217;re using. So, right now, if you&#8217;re using Firefox 2 your user agent string looks something like this:</p><pre><code>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14</code></pre><p>and if you&#8217;re on an iPhone it will look something like this:</p><pre><code>Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420.1 (KHTML, like
Gecko) Version/3.0 Mobile/4A102 Safari/419.3</code></pre><p>As you can see, the user agent string has some key difference. The iPhone agent actually says &quot;iPhone&quot; in it. With this in mind we can use a neat little function built into PHP 5 called <a
href="http://us2.php.net/stripos" rel="external">stripos</a> to search the user agent and return some code (like code to send someone to a mobile version of a web site).</p><p>Let&#8217;s just get into it shall we? Here&#8217;s the PHP:</p><pre><code>&lt;?php
//setting the variables
ipod = stripos($_SERVER['HTTP_USER_AGENT'],&quot;iPod&quot;);
$iphone = stripos($_SERVER['HTTP_USER_AGENT'],&quot;iPhone&quot;);

//detecting device
if ($ipod == true || $iphone == true){
    echo &quot;iPhone or iPod&quot;;
    } else {
    echo &quot;Screen&quot;;
}
?&gt;</code></pre><p><code>Stripos</code> is a function that takes 2 arguments. The first is what you want to search (the haystack) and the second is what you want to search for (the needle). If the <em>needle</em> is found in the <em>haystack</em> it will return &quot;true&quot;, and if not, it will return false. An important thing to note about <code>stripos</code> is that it&#8217;s case insensitive[edit], so if you have some initial trouble, check your spacing and maybe try trim().</p><h4>Trouble I had</h4><p>In the PHP manual it says to use === when checking the value (which is for an exact match, true=true), but for some reason that didn&#8217;t work for me so I used == (match, but not exact so true=true &amp; true=1 for boolean values). It&#8217;s usually just a spacing issue, but I&#8217;m not real sure this time. Feel free to tell me I&#8217;m wrong.</p><p><a
href="http://www.csskarma.com/lab/mediatyping/">view live demo</a></p><p>I like this, it&#8217;s pretty easy, light, and useful if you just want an iPhone/iPod interface.</p> ]]></content:encoded> <wfw:commentRss>http://www.csskarma.com/blog/quick-iphone-media-detection/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Lack of news and some hot topics</title><link>http://www.csskarma.com/blog/lack-of-news-and-some-hot-topics/</link> <comments>http://www.csskarma.com/blog/lack-of-news-and-some-hot-topics/#comments</comments> <pubDate>Wed, 14 May 2008 15:15:52 +0000</pubDate> <dc:creator>Tim</dc:creator> <category><![CDATA[News]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[Web Standards]]></category> <category><![CDATA[mobile]]></category> <category><![CDATA[wai aria]]></category><guid
isPermaLink="false">http://www.csskarma.com/blog/?p=62</guid> <description><![CDATA[Has anyone noticed the lack of hopping in web development over the past month or so? The industry is usually so active that we can find new stories coming up in our RSS feeds every week. Maybe it&#8217;s the feeds I subscribe to, but the stories have been trickling in lately. Maybe we&#8217;re all off [...]]]></description> <content:encoded><![CDATA[<p>Has anyone noticed the lack of hopping in web development over the past month or so? The industry is usually so active that we can find new stories coming up in our RSS feeds every week. Maybe it&#8217;s the feeds I subscribe to, but the stories have been trickling in lately. Maybe we&#8217;re all off building our mobile web sites.</p><p>Here&#8217;s some things we can read up on in preparation of the new web.</p><p><a
href="http://www.digital-web.com/articles/web_beyond_the_desktop/" rel="external">The Web Beyond the Desktop</a></p><p>An article by <a
href="http://mobilewebbook.com/" rel="external">David Shea</a> written in April based on a presentation by him and <a
href="http://westciv.typepad.com/dog_or_higher/" rel="external">John Allsopp</a> at <a
href="http://north08.webdirections.org/" rel="external">Web Directions North 2008</a> in Vancouver. David talks about how there is a movement beyond the desktop computer to mobile devices, Wii, PS3, and anything with web browsing capabilities. This is an important article and was my main arguement for getting a Wii in the office here&#8230; it didn&#8217;t work but my arguement was still valid.</p><p><a
href="http://mobilewebbook.com/" rel="external">Mobile Web Design</a></p><p>A book by <a
href="http://cameronmoll.com/" rel="external">Cameron Moll</a> giving a great jumping-off point for anyone looking to get into  mobile  development and talks about the inevitable collision between web standards and the mobile web. Cameron provides a very well written introduction the the mobile web in a round 100 pages (which I love). It&#8217;s not long-winded like many books, it gets right to the point, and its not expensive&#8230; hightly recommend.</p><p><a
href="http://communities-dominate.blogs.com/brands/2007/01/putting_27_bill.html" rel="external">Putting 2.7 billion in context: Mobile phone users</a></p><p>An article by <a
href="http://wireless-watch.com/author/tomi-ahonen/" rel="external">Tomi Ahonen</a> highlighting the impact of mobile technologies in recent times. There&#8217;s a good follow up article by Tomi to this as well: <a
href="http://communities-dominate.blogs.com/brands/2008/01/when-there-is-a.html" rel="external">When there is a mobile phone for half the planet: Understanding the biggest technology</a>. Both these articles are pretty long, but very good and considered to be required reading for anyone diving into the mobile web.</p><p><a
href="http://www.w3.org/WAI/intro/aria" rel="external">WAI ARIA accessibility support</a></p><p>I first heard of WAI ARIA in an article on A List Apart called &#8220;<a
href="http://www.alistapart.com/articles/waiaria" rel="external">Accessible Web 2.0 Applications with WAI-ARIA</a>&#8221; and it seemed very interesting, but unsupported. Then in a talk by <a
href="http://boxofchocolates.ca/" rel="external">Derek Featherstone</a>, I heard it mentioned again and it peaked my interest.WAI ARIA is a way to make all these cool Ajax apps more accessibile by describing the role of a certain area of the page (like giving your navigation a role of &#8220;navigation&#8221;). It also allows users to navigate by section of the web site rather than tabbing through all the links or using a skip menu.</p><p><a
href="http://dev.mobi/article/content-delivery-mobile-devices" rel="external">Content Delivery for Mobile Devices</a></p><p>An article from <a
href="http://dev.mobi/" rel="external">dev.mobi</a> on the best practices for serving up web content on a mobile device. <q>Delivering content to mobile devices has been a very tricky subject.  Developers who came into the mobile world were usually confronted with  a new and unknown paradigm, where very little information could be  found on how to determine devices&#8217; capabilities and to deliver content  to them</q> (used a q tag for the first time right there).</p><p>I feel like this post was mobile-heavy, but it&#8217;s important to not forget about the basics of web standards while developing in these new buzzwords; and more basics like learning JavaScript and the XMLHttpRequest before you heavily use <a
href="http://jquery.com" rel="external">jQuery</a> or <a
href="http://www.prototypejs.org/" rel="external">Prototype</a>. Reading <a
href="http://www.bulletproofajax.com/" rel="external">Bulletproof Ajax</a> helped me with that.</p><p>Anyway, I hope this gets some RSS feeds stirring. Thoughts? Comments? Complaints about my awful grammar?</p><p>with ease,<br
/> Tim</p> ]]></content:encoded> <wfw:commentRss>http://www.csskarma.com/blog/lack-of-news-and-some-hot-topics/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Quick note on mobile web design</title><link>http://www.csskarma.com/blog/quick-note-on-mobile-web-design/</link> <comments>http://www.csskarma.com/blog/quick-note-on-mobile-web-design/#comments</comments> <pubDate>Mon, 31 Mar 2008 17:38:35 +0000</pubDate> <dc:creator>Tim</dc:creator> <category><![CDATA[Browsers]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[CSS]]></category> <category><![CDATA[fitts]]></category> <category><![CDATA[mobile]]></category> <category><![CDATA[usability]]></category><guid
isPermaLink="false">http://www.csskarma.com/blog/?p=58</guid> <description><![CDATA[Before, you check: no, I haven&#8217;t made a handheld style sheet for this site yet, hopefully in the near future. Anyway, I&#8217;ve been reading up on some user interface principles in the past few months and have been talking up designing for mobile devices. First, I was looking into Fitts&#8217;s Law (I&#8217;ve seen it spelled [...]]]></description> <content:encoded><![CDATA[<p>Before, you check: no, I haven&#8217;t made a handheld style sheet for this site yet, hopefully in the near future.</p><p>Anyway, I&#8217;ve been reading up on some user interface principles in the past few months and have been talking up designing for mobile devices. First, I was looking into <a
href="http://particletree.com/features/visualizing-fittss-law/" rel="external" rev="vote-for">Fitts&#8217;s Law</a> (I&#8217;ve seen it spelled a few different ways, so I just chose one and went with it) which wasn&#8217;t meant to apply directly to the web, but is still very useful  in relation to link size, deceleration, and general usability issues. Then reading up on some <a
href="http://mezzoblue.com/archives/2008/03/18/mediatyping/" rel="external" rev="vote-for">Mediatyping on Mezzoblue</a>. And I started dumping all that stuff into the <a
href="http://www.csskarma.com/research">research section of CSSKarma</a>, mainly so I could keep track of it, but also to try and centralize some of the happenings on the web and show some of the better resources I&#8217;ve come across, but that haven&#8217;t made it to the lab yet.</p><p>I&#8217;ve been speaking pretty frequently about mobile design/development and there&#8217;s one particular aspect of it that seems to escape a designer&#8217;s mind in almost every conversation: <strong>a finger, while far more accurate than a mouse, is around 10 times larger</strong>. Very often, you get something like this:</p><p><img
src="http://www.csskarma.com/images/iphone_finger.jpg" alt="huge finger vs the iPhone" /></p><p>I have no idea who&#8217;s finger that is, got it from Google images.</p><p>This seems like common sense, but you&#8217;d be surprised how many times people have trouble hitting a small link on their mobile device because it doesn&#8217;t translate from the regular web browser well. It&#8217;s true that the iPhone/iPod touch have that cool zooming feature, but it&#8217;s still kind of a pain for browsing a site. Fitts&#8217;s Law, as part of it applies to link size (target area) is very useful where it basically says that increasing the size of a small object will improve hit accuracy, but only to a point (increasing the size of a large object will not necessarily increase accuracy).</p><p>I really recommend reading up on <a
href="http://particletree.com/features/visualizing-fittss-law/">Fitts&#8217;s Law</a>. It&#8217;s pretty useful, especially in a time where the future of web design is moving towards mobile devices (can the future move?).</p><p><strong>General handheld style media:</strong> media=&#8221;handheld&#8221;</p><p><strong>iPhone/iPod Touch style media</strong>: media=&#8221;only screen and (max-device-width: 480px)&#8221;</p><p>Just some stuff to remember while you&#8217;re designing for the mobile web</p><p>with ease,</p><p>Tim</p> ]]></content:encoded> <wfw:commentRss>http://www.csskarma.com/blog/quick-note-on-mobile-web-design/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 7/14 queries in 0.014 seconds using disk: basic

Served from: www.csskarma.com @ 2012-02-04 03:16:33 -->
