<?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>greenideas &#187; design</title>
	<atom:link href="http://mwhenry.com/blog/tag/design/feed/" rel="self" type="application/rss+xml" />
	<link>http://mwhenry.com/blog</link>
	<description>A blog by Matt Henry</description>
	<lastBuildDate>Fri, 02 Jul 2010 23:26:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Responsive Web Design for Mobile</title>
		<link>http://mwhenry.com/blog/2010/07/responsive-web-design-for-mobile/</link>
		<comments>http://mwhenry.com/blog/2010/07/responsive-web-design-for-mobile/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 22:36:32 +0000</pubDate>
		<dc:creator>Matt Henry</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[responsive]]></category>

		<guid isPermaLink="false">http://mwhenry.com/blog/?p=124</guid>
		<description><![CDATA[Responsive web design is undeniably the new hotness in CSS. If you’re not familiar with the technique, go and read Ethan Marcotte’s amazing article over on A List Apart. What Marcotte has created is a way to create one design that adapts to different resolutions using media queries. There are countless advantages to building sites [...]]]></description>
			<content:encoded><![CDATA[<p>Responsive web design is undeniably the new hotness in CSS. If you’re not familiar with the technique, go and read <a href="http://www.alistapart.com/articles/responsive-web-design/">Ethan Marcotte’s amazing article</a> over on <i>A List Apart</i>. What Marcotte has created is a way to create one design that adapts to different resolutions using <a href="http://www.w3.org/TR/css3-mediaqueries/">media queries</a>.</p>
<p>There are countless advantages to building sites in this way, but arguably the most compelling reason is the ability to share one layout across both desktop and mobile browsers. However, if you’re new to mobile development there are a couple of tricks you’ll need to use in order to make this work. It wasn’t really in the scope of Marcotte’s article to cover the mobile-specific aspects of his technique, so I figured a quick post was in order to fill in the gaps.</p>
<p>The example site we’ll be looking at is a hypothetical site for foodies called <a href="http://mwhenry.com/blog/examples/forkd/">Fork’d</a>. When you look at it in a normal sized desktop browser, It’s got a vertical navigation list and three columns of content. If you resize the window to be a fair bit narrower, you’ll see that the floats disappear, and the navigation as well as all of the content is lined up in a single column. This is the layout we want our mobile users to see. However, what they’re actually going to see is this:</p>
<p><img src="http://mwhenry.com/blog/images/forkd_iphone_tiny.jpg" alt="the site renders very small" style="border:1px solid #ccc" /></p>
<p>Fortunately, we just need a tiny sprinkling of pixie dust to make this work the way we expect it to. We’ll just add this meta tag to our page:</p>
<pre class="code">
<code class="html">
&lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
</code>
</pre>
<p>(For way more info on viewports, check out <a href="http://developer.apple.com/safari/library/documentation/appleapplications/reference/safariwebcontent/usingtheviewport/usingtheviewport.html">Apple’s documentation on the subject</a>.)</p>
<p>Once we put that in place, the Fork’d site renders like this:</p>
<p><img src="http://mwhenry.com/blog/images/forkd_iphone.jpg" alt="the site renders at the correct resolution" style="border:1px solid #ccc" /></p>
<p>Perfect! We now have one layout that works across different desktop screen resolutions as well as (high-end) mobile devices, and the only extra trick we had to employ was to add a single meta tag.</p>
]]></content:encoded>
			<wfw:commentRss>http://mwhenry.com/blog/2010/07/responsive-web-design-for-mobile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What I’m Reading: 3/20</title>
		<link>http://mwhenry.com/blog/2008/03/what-im-reading-320/</link>
		<comments>http://mwhenry.com/blog/2008/03/what-im-reading-320/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 12:26:38 +0000</pubDate>
		<dc:creator>Matt Henry</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://mwhenry.com/?p=10</guid>
		<description><![CDATA[CSS Styled Scrollbars With Mootools and JQuery: Currently, only the IEs support the styling of scrollbars with CSS alone (although scrollbar styles are part of CSS3). This post links to a couple of Javascript-library-based techniques to get the job done in the meantime. Making ‘IE6-friendly’ PNG8 Images: Turns out our beloved hack to get transparent [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li><a href="http://solutoire.com/2008/03/10/mootools-css-styled-scrollbar/">CSS Styled Scrollbars With Mootools and JQuery</a>: Currently, only the IEs support the styling of scrollbars with CSS alone (although scrollbar styles are <a href="http://www.css3.com/css-scrollbar-face-color/">part of CSS3</a>). This post links to a couple of Javascript-library-based techniques to get the job done in the meantime.</li>
<li><a href="http://www.sitepoint.com/blogs/2008/03/20/making-ie6-friendly-png8-images/">Making ‘IE6-friendly’ PNG8 Images</a>: Turns out our beloved hack to get transparent PNG32s in IE6 can <a href="http://blogs.cozi.com/tech/2008/03/transparent-png.html">sometimes crash the browser</a>. To play it safe and ensure crash-free viewing of your site, it’s probably best to use PNG8 until IE6 is no longer a factor (someday, «rassafrackin…»). This post gives you some techniques to make your PNG8 graphics almost as useful as PNG32s.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://mwhenry.com/blog/2008/03/what-im-reading-320/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

