<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Petridisc</title>
	
	<link>http://petridisc.com</link>
	<description>A journal, portfolio &amp; miscellarium</description>
	<lastBuildDate>Wed, 15 Sep 2010 12:30:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/petridisc" /><feedburner:info uri="petridisc" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Craftmanship and Code</title>
		<link>http://feedproxy.google.com/~r/petridisc/~3/uodk5eV6HAc/</link>
		<comments>http://petridisc.com/designelopment/craftmanship-and-code/#comments</comments>
		<pubDate>Wed, 15 Sep 2010 12:30:41 +0000</pubDate>
		<dc:creator>petridisc</dc:creator>
				<category><![CDATA[Designelopment]]></category>

		<guid isPermaLink="false">http://petridisc.com/?p=268</guid>
		<description><![CDATA[So I&#8217;ll be talking next week at my local Refresh group. I decided to do a talk on ethics and professionalism when it comes to being a web designer/developer. I&#8217;ll also get into showing some code. Going from abstract stuff &#8230; <a href="http://petridisc.com/designelopment/craftmanship-and-code/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ll be talking next week at my local <a href="http://www.refreshcolumbia.org/">Refresh</a> group. I decided to do a talk on ethics and professionalism when it comes to being a web designer/developer. </p>
<p>I&#8217;ll also get into showing some code. Going from abstract stuff like ethics all the way to putting some CSS on the screen will be a bit of a challenge. At any rate, in addition to some thoughts about what makes some a professional, I came up with the following list of things that are common to design front end development:</p>
<ul>
<li>Aesthetics</li>
<li>Functionality</li>
<li>Meaning</li>
<li>Simplicity</li>
<li>Elegance</li>
</ul>
<p>These are all things that I try to keep in mind when I&#8217;m designing and also with my HTML and CSS.</p>
<img src="http://feeds.feedburner.com/~r/petridisc/~4/uodk5eV6HAc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://petridisc.com/designelopment/craftmanship-and-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://petridisc.com/designelopment/craftmanship-and-code/</feedburner:origLink></item>
		<item>
		<title>Cool kids sit in the back</title>
		<link>http://feedproxy.google.com/~r/petridisc/~3/Ls7CwcTX450/</link>
		<comments>http://petridisc.com/inspiration/cool-kids-sit-in-the-back/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 12:19:36 +0000</pubDate>
		<dc:creator>petridisc</dc:creator>
				<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://petridisc.com/?p=250</guid>
		<description><![CDATA[I normally don&#8217;t get to ride in the back of a minivan on long drives, since I&#8217;m usually the one driving to one of our shows. In this case, I went with the unmatchedstyle crew to MailChimp in Atlanta to &#8230; <a href="http://petridisc.com/inspiration/cool-kids-sit-in-the-back/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I normally don&#8217;t get to ride in the back of a minivan on long drives, since <em>I&#8217;m</em> usually the one driving to one of our <a href="http://lunchmoneymusic.com/shows/">shows</a>. </p>
<p>In this case, I went with the <a href="http://unmatchedstyle.com">unmatchedstyle</a> crew to <a href="http://mailchimp.com">MailChimp</a> in Atlanta to shoot some videos and and on the way back I got the perspective of looking out the back window at the sunset and the rain, which is something I haven&#8217;t really experienced in a long time.</p>
<p>I decided to take a few photos with the <a href="http://www.thebestcamera.com/">Best Camera</a> app on my iPhone and after some tweaking I think it got some decently moody shots.</p>
<p><a href="http://petridisc.com/wp-content/uploads/2010/08/IMG_0722.jpg"><img src="http://petridisc.com/wp-content/uploads/2010/08/IMG_0722.jpg" alt="" /></a></p>
<p><span id="more-250"></span></p>
<p><a href="http://petridisc.com/wp-content/uploads/2010/08/IMG_0723.jpg"><img src="http://petridisc.com/wp-content/uploads/2010/08/IMG_0723.jpg" alt="" /></a></p>
<p><a href="http://petridisc.com/wp-content/uploads/2010/08/IMG_0725.jpg"><img src="http://petridisc.com/wp-content/uploads/2010/08/IMG_0725.jpg" alt="" /></a></p>
<p><a href="http://petridisc.com/wp-content/uploads/2010/08/IMG_0727.jpg"><img src="http://petridisc.com/wp-content/uploads/2010/08/IMG_0727.jpg" alt="" /></a></p>
<p><a href="http://petridisc.com/wp-content/uploads/2010/08/IMG_0729.jpg"><img src="http://petridisc.com/wp-content/uploads/2010/08/IMG_0729.jpg" alt="" /></a></p>
<img src="http://feeds.feedburner.com/~r/petridisc/~4/Ls7CwcTX450" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://petridisc.com/inspiration/cool-kids-sit-in-the-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://petridisc.com/inspiration/cool-kids-sit-in-the-back/</feedburner:origLink></item>
		<item>
		<title>“And if all else fails, use a &lt;div&gt;”</title>
		<link>http://feedproxy.google.com/~r/petridisc/~3/OSBlfpRBWV8/</link>
		<comments>http://petridisc.com/designelopment/and-if-all-else-fails-use-a-div/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 12:30:12 +0000</pubDate>
		<dc:creator>petridisc</dc:creator>
				<category><![CDATA[Designelopment]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://petridisc.com/?p=221</guid>
		<description><![CDATA[If you play music and have ever been in a band you may be familiar with the types of people who have tons of gear. They can tell you all about it. They can probably make fun of your crappy &#8230; <a href="http://petridisc.com/designelopment/and-if-all-else-fails-use-a-div/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you play music and have ever been in a band you may be familiar with the types of people who have tons of gear. They can tell you all about it. They can probably make fun of your crappy gear. They can talk about their &#8220;distinctive style&#8221;. But then they play and their fancy gear sounds awful. And it&#8217;s not their gear, it&#8217;s them. And their &#8220;distinctive style&#8221; is mostly due to a lack of the concept of tuning or timing. </p>
<p>This relates to HTML in that it&#8217;s something that people obsess over, but which can often have little to do with the quality of the end product. What&#8217;s the point of clean, semantic markup if the website is ugly and unusable? What got me thinking about this was a recent post on HTML5 Doctor about the <a href="http://html5doctor.com/you-can-still-use-div/">lonely &lt;div&gt;</a> and the fact that in this crazy mixed-up world of HTML5, the forgotten div still has feelings. Really it does.</p>
<p>In the first example, the H1 tag is used as a title for the site, which is somewhat &#8216;controversial&#8217;. Is the H1 used for the title of the site, or the page? Or maybe even for multiple sections of a page? The ramifications are mind-boggling&#8230; not really. It just made me picture some nerd somewhere going &#8220;Hey, you can&#8217;t do that! The H1 is NOT for the site title!&#8221;. And just stepping back a little, the idea that there would be an argument over this is a bit absurd. Not that it&#8217;s unimportant, just a little absurd. In the way that if you say &#8216;hubble&#8217; 20 times in a row, it might start to sound odd.</p>
<p>So as someone who designs and develops, it really is very important to know about these things. But it&#8217;s also very important not to get lost in the weeds. Read articles and documentation, form opinions and move on. Use what works. Would you rather use a bunch of divs instead of a list? Use H1 on the page title. Go for it. Maybe a little more time could be spent on making your site that much better.</p>
<img src="http://feeds.feedburner.com/~r/petridisc/~4/OSBlfpRBWV8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://petridisc.com/designelopment/and-if-all-else-fails-use-a-div/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://petridisc.com/designelopment/and-if-all-else-fails-use-a-div/</feedburner:origLink></item>
		<item>
		<title>When Everything is Content</title>
		<link>http://feedproxy.google.com/~r/petridisc/~3/_CFNGf7msBo/</link>
		<comments>http://petridisc.com/writing/when-everything-is-content/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 12:30:01 +0000</pubDate>
		<dc:creator>petridisc</dc:creator>
				<category><![CDATA[Writing]]></category>
		<category><![CDATA[Content]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://petridisc.com/?p=240</guid>
		<description><![CDATA[I have a tolerate/hate relationship with &#8216;Lorem Ipsum&#8217;. On one hand it&#8217;s a necessary evil. On the other, the lack of real content prevents me, as a designer, from really knowing what the final product is going to look like. &#8230; <a href="http://petridisc.com/writing/when-everything-is-content/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have a tolerate/hate relationship with &#8216;Lorem Ipsum&#8217;. </p>
<p>On one hand it&#8217;s a necessary evil. On the other, the lack of real content prevents me, as a designer, from really knowing what the final product is going to look like. So I have to leave holes that may be too big or too small for whatever content may eventually go in there. Designing to content is ideal, but it is so rare. </p>
<p>But the point of this post is that I&#8217;ve been delving into the world of video and video editing. I am, admittedly, a novice and am currently spending more time consulting the internet on how to use Adobe Premiere than actually editing.</p>
<p>What strikes me a bit about editing is that it&#8217;s instead of a scenario where I need content to fill a predefined space, I&#8217;m faced with a plethora of content to fill an undefined space. There&#8217;s an empty container over here, and then a bunch of footage over here. And somehow it all has to be chopped up and made interesting. And as a designer, this is exactly the opposite of what I&#8217;m used to. But I can&#8217;t help but thinking is this way is going to help me out in some way&#8230;</p>
<img src="http://feeds.feedburner.com/~r/petridisc/~4/_CFNGf7msBo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://petridisc.com/writing/when-everything-is-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://petridisc.com/writing/when-everything-is-content/</feedburner:origLink></item>
		<item>
		<title>Walnut Grained Vinyl Veneer</title>
		<link>http://feedproxy.google.com/~r/petridisc/~3/vfi2HLfjz7I/</link>
		<comments>http://petridisc.com/resources/walnut-grained-vinyl-veneer/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 12:23:48 +0000</pubDate>
		<dc:creator>petridisc</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[Texture]]></category>
		<category><![CDATA[wood]]></category>

		<guid isPermaLink="false">http://petridisc.com/?p=212</guid>
		<description><![CDATA[Truth in advertising. This is from the side of an 8-track recorder. Yes, recorder. I can make 8-track mixes in the comfort of my own home. I suppose wood veneer was something to be proud of at some point. Full &#8230; <a href="http://petridisc.com/resources/walnut-grained-vinyl-veneer/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Truth in advertising. This is from the side of an 8-track recorder. </p>
<p>Yes, recorder. I can make 8-track mixes in the comfort of my own home. I suppose wood veneer was something to be proud of at some point.</p>
<p><img src="http://petridisc.com/wp-content/uploads/2010/07/veneer.jpg" alt="" /></p>
<p><a class="download" href="http://petridisc.com/wp-content/uploads/2010/07/veneer-full.jpg">Full size download (3.5mb)</a>.</p>
<img src="http://feeds.feedburner.com/~r/petridisc/~4/vfi2HLfjz7I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://petridisc.com/resources/walnut-grained-vinyl-veneer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://petridisc.com/resources/walnut-grained-vinyl-veneer/</feedburner:origLink></item>
		<item>
		<title>1978 Ford Tuareg</title>
		<link>http://feedproxy.google.com/~r/petridisc/~3/GReATX-0zg4/</link>
		<comments>http://petridisc.com/inspiration/1978-ford-tuareg/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 12:36:15 +0000</pubDate>
		<dc:creator>petridisc</dc:creator>
				<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Cars]]></category>

		<guid isPermaLink="false">http://petridisc.com/?p=203</guid>
		<description><![CDATA[I was flipping through a copy of Popular Science from 1978 and ran across this awesome thing. Based on a Fiesta, it never made it into production. So not only is the Tuareg a group of people from North Africa, &#8230; <a href="http://petridisc.com/inspiration/1978-ford-tuareg/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was flipping through a copy of Popular Science from 1978 and ran across this awesome thing. Based on a Fiesta, it never made it into production.</p>
<p><img src="http://petridisc.com/wp-content/uploads/2010/07/tuareg.jpg" alt="" /></p>
<p>So not only is the <a href="http://en.wikipedia.org/wiki/Tuareg">Tuareg</a> a group of people from North Africa, it&#8217;s also a never made dune buggy. Not to be confused with the <a href="http://en.wikipedia.org/wiki/Touareg">Touareg</a>.</p>
<img src="http://feeds.feedburner.com/~r/petridisc/~4/GReATX-0zg4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://petridisc.com/inspiration/1978-ford-tuareg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://petridisc.com/inspiration/1978-ford-tuareg/</feedburner:origLink></item>
		<item>
		<title>Black Leaf Logo</title>
		<link>http://feedproxy.google.com/~r/petridisc/~3/4baUb-WvNjs/</link>
		<comments>http://petridisc.com/inspiration/black-leaf-logo/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 01:42:10 +0000</pubDate>
		<dc:creator>petridisc</dc:creator>
				<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Texture]]></category>
		<category><![CDATA[Type]]></category>

		<guid isPermaLink="false">http://petridisc.com/?p=168</guid>
		<description><![CDATA[Really like the type on this logo for an old pesticide. Found this in an old notepad, probably from the 50&#8242;s. It&#8217;s really an unfortunate name for a product. I mean I get that it kills stuff, but should the &#8230; <a href="http://petridisc.com/inspiration/black-leaf-logo/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Really like the type on this logo for an old pesticide. Found this in an old notepad, probably from the 50&#8242;s.</p>
<p>It&#8217;s really an unfortunate name for a product. I mean I get that it kills stuff, but should the leaves be black?  </p>
<p><a href="http://petridisc.com/wp-content/uploads/2010/07/blackleaf.jpg"><img src="http://petridisc.com/wp-content/uploads/2010/07/blackleaf.jpg" alt="" /></a></p>
<p>And as it turns out, it&#8217;s <a href="http://www.pesticideinfo.org/Detail_Product.jsp?REG_NR=00588700007&#038;DIST_NR=005887">not so good</a> for people. Check out the skulls!</p>
<img src="http://feeds.feedburner.com/~r/petridisc/~4/4baUb-WvNjs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://petridisc.com/inspiration/black-leaf-logo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://petridisc.com/inspiration/black-leaf-logo/</feedburner:origLink></item>
		<item>
		<title>Targeting for Flexibility with Media Queries</title>
		<link>http://feedproxy.google.com/~r/petridisc/~3/Pqg5DR5OmO8/</link>
		<comments>http://petridisc.com/resources/targeting-for-flexibility-with-media-queries/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 02:25:45 +0000</pubDate>
		<dc:creator>petridisc</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://petridisc.com/?p=121</guid>
		<description><![CDATA[One aspect of designing for the web is about being aware of and adapting to multiple browsers, operating systems, screen resolutions and even bandwidth. And not only do we need to adapt to the physical requirements of the hardware, we &#8230; <a href="http://petridisc.com/resources/targeting-for-flexibility-with-media-queries/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One aspect of designing for the web is about being aware of and adapting to multiple browsers, operating systems, screen resolutions and even bandwidth. And not only do we need to adapt to the physical requirements of the hardware, we also need to think about how our users are going to be interacting with the website.</p>
<p>For example, on a small touchscreen device, it&#8217;s a good idea to make buttons or clickable areas obvious and large enough for fingers to tap. We also need to be aware that tried and true methods of interaction like hover states may not work on a touch screen. So we should looking for ways to modify our layout and interaction depending on the type of device the user is on. One way that we can start to attack some of these issues is by using the extended features of the <a href="http://www.w3.org/TR/css3-mediaqueries/">media query</a> that are new to CSS3. I&#8217;ll explain first what they are and how they work and then show how I approached using them on this site.</p>
<h3>This seems familiar</h3>
<p>The media query has been around for a long time and it&#8217;s probably familiar used in this context:</p>
<p><code>
<pre>&lt;link rel="stylesheet" media="screen" href="testy.css" /&gt;</pre>
<p></code><br />
The <em>media</em> parameter refers to the type of device we&#8217;re rendering on, it&#8217;s a <a href="http://www.w3.org/TR/CSS2/media.html#media-types">limited list</a> and generally we&#8217;ve been interested in &#8216;screen&#8217; and &#8216;print&#8217;. </p>
<h3>What&#8217;s new?</h3>
<p>With the CSS3 specification of the media query, however, we can not only target the type of device we&#8217;re targeting, but parameters of those devices, like width, resolution, aspect ratio, orientation and more. Now, with a media query, if you want to target browser widths of less than 800px we could serve up a different stylesheet with something like this:</p>
<p><code>
<pre>&lt;link rel="stylesheet" media="screen and (max-width: 800px)" href="testy.css" /&gt;</pre>
<p></code></p>
<p>The same thing can also be accomplished inside the same css file also. I prefer this method and it achieves exactly the same thing:</p>
<p><code>
<pre>
@media screen and (max-width: 800px) {
      //CSS here to target 800px or less
}
</pre>
<p></code></p>
<p>So that&#8217;s the basic concept, lets look at a few ways to make use of it.</p>
<h3>Putting it to use</h3>
<p>This site is a 2 column fixed-liquid site with a maximum width of 900px, and the left and right columns are set to 70% and 30% respectively. As the browser width gets smaller, the columns scale to keep their relative widths, but as the size gets smaller it starts to get too narrow for the content. There&#8217;s no reason we couldn&#8217;t target even larger screens, but in this case we want to make our design flexible as the screens and devices get smaller and smaller. It seems logical to start targeting from largest to smallest so my first goal is to target a class of devices/screens that have a width of around 800px. This would include Android phones (when in landscape) and the iPad (in portrait), at least. One thing that happens that I want to address is when the sidebar gets narrow, the social icons start to overlap each other, and I feel like the thumbnails for the work section get too small. So by building off the code above we can add some css inside along these lines:  </p>
<p><code>
<pre>@media screen and (min-width: 480px) and (max-width: 800px) {

body {
	line-height: 1.5;
}

#sidebar-social ul li,
#sidebar-portfolio ul li {
	width: 50%;
}

}</pre>
<p></code></p>
<p>Previously in the css the width of the social icons is set to 33% and the thumbnails is 25%, which makes them 3 and 4 across. By changing it to 50%, it goes to two across, making the thumbnails larger, and giving the text more room. The image below shows what happens for widths larger than 800px, the right is less than 800px. </p>
<p><a href="http://petridisc.com/wp-content/uploads/2010/07/media-query-1.jpg"><img src="http://petridisc.com/wp-content/uploads/2010/07/media-query-1.jpg" alt="" /></a></p>
<p>I&#8217;ve also added a couple more things. I added a &#8216;min-width&#8217; to the query. This will keep it from applying these rules to screens smaller than 480, we&#8217;ll be targeting those soon enough. I also changed the overall line-height, based on the recommendation of Andy Clarke in his <a href="http://stuffandnonsense.co.uk/blog/about/proportional_leading_with_css3_media_queries">article on proportional leading</a>. </p>
<h3>Down the Rabbit Hole</h3>
<p>Now we&#8217;re going to target smaller devices, which mainly are going to be smartphones with decent browsers. I honestly haven&#8217;t done much serious testing on anything but the iPhone, but I hope to do some more on Android when possible.</p>
<p>We can set &#8216;min-width&#8217; to 480px, which means we&#8217;ll be targeting the iPhone in portrait and landscape orientations. Since the screen is so small, I feel like it would be better if we just focused on the column with the list of posts or just one post and lost the sidebar. But we really don&#8217;t want to hide it, do we? It&#8217;s still good content. What we can do is remove the floats from the columns and letting the natural order of the html push the sidebar below the main post. We can achieve this like so:</p>
<p><code>
<pre>
@media screen and (max-device-width: 480px) {

#sidebar, #posts {
       	float: none;
    	width: auto;
    	padding: 0;
}

}
</pre>
<p></code></p>
<p>The result, iPhone screenshot overlaid:</p>
<p><a href="http://petridisc.com/wp-content/uploads/2010/07/media-query-2.jpg"><img src="http://petridisc.com/wp-content/uploads/2010/07/media-query-2.jpg" alt="" /></a></p>
<p>The first thing you might notice is that I&#8217;ve changed the query to &#8216;max-device-width&#8217;, the &#8216;device&#8217; is referring to the actual size of the screen, as opposed to &#8216;max-width&#8217; which would refer to current size of the browser. Either one really works, but this is specific. I think this is a good start, but it introduces a new problem. All of that sidebar content is pushed all the way down the page with no way to get to it. So what I&#8217;ve done is added a link in the html that is hidden by default, and only shows on these smaller devices. I&#8217;ve assigned it a class of &#8216;mobile&#8217;, in case I want to apply it to other parts of the page I can just show all things with that class.</p>
<p><code>
<pre>
HTML:
	&lt;p class="mobile"&gt;
		&lt;a href="#aboutme"&gt;About &raquo;&lt;/a&gt;
	&lt;/p&gt;

CSS:
@media screen and (max-width: 480px) {
	p.mobile {
		display: block;
	}

	#header p.mobile  {
		float: right;
		padding: .4em 0 0 0;
	}

}
</pre>
<p></code></p>
<p>So now, on the iPhone, there&#8217;s an &#8216;About&#8217; button at the top that targets what was the sidebar down near the bottom. As an aside, notice I&#8217;m setting values that affect the width in relative units, this ensures that as the page scales down, we have a nice consistent spacing around the elements.</p>
<h3>Small screen, fat fingers</h3>
<p>I think we need to revisit those social icons. When the screen is a small touchscreen we need to make sure that links are easily &#8216;tappable&#8217;. Once we&#8217;ve determined we&#8217;re on this device, we can restyle the images to make them more touch-friendly, like so (iPhone on the right):</p>
<p><a href="http://petridisc.com/wp-content/uploads/2010/07/media-query-3.jpg"><img src="http://petridisc.com/wp-content/uploads/2010/07/media-query-3.jpg" alt="" /></a></p>
<h3>Only the start</h3>
<p>That&#8217;s just a few ways to think about using media queries, but the real usefulness of them is getting us to think deeper about the way we design needs to address an increasing array of devices and resolutions and how users are interacting on them.</p>
<h3>More Info</h3>
<p>There&#8217;s been a lot of talk about media queries lately, here are a few good sources:</p>
<ul>
<li>Chris Coyier has a good rundown in his post <a href="http://css-tricks.com/css-media-queries/">CSS Media Queries &#038; Using Available Space</a>.</li>
<li>Ethan Marcotte&#8217;s article about <a href="http://www.alistapart.com/articles/responsive-web-design/">&#8216;Responsive Web Design&#8217;</a></li>
</ul>
<img src="http://feeds.feedburner.com/~r/petridisc/~4/Pqg5DR5OmO8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://petridisc.com/resources/targeting-for-flexibility-with-media-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://petridisc.com/resources/targeting-for-flexibility-with-media-queries/</feedburner:origLink></item>
		<item>
		<title>Glory Days</title>
		<link>http://feedproxy.google.com/~r/petridisc/~3/dYXSZbVEHHo/</link>
		<comments>http://petridisc.com/writing/young-and-dumb/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 01:04:05 +0000</pubDate>
		<dc:creator>petridisc</dc:creator>
				<category><![CDATA[Writing]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Type]]></category>

		<guid isPermaLink="false">http://petridisc.com/?p=145</guid>
		<description><![CDATA[If I hadn&#8217;t been in a band in the late 90&#8242;s that needed to have things like posters made I may be doing something different today. It was that need that made me take on those duties and thus sparked &#8230; <a href="http://petridisc.com/writing/young-and-dumb/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If I hadn&#8217;t been in a band in the late 90&#8242;s that needed to have things like posters made I may be doing something different today. It was that need that made me take on those duties and thus sparked the idea of &#8220;Hey I might not be so bad at this.&#8221;</p>
<p>But now, if I go back and look at design I did a measly few months ago it&#8217;s easy to wonder what I was smoking. That&#8217;s why this postcard, which I did in either 1998 or 1999, cracks me up.</p>
<p><a href="http://petridisc.com/wp-content/uploads/2010/07/tvc-postcard.png"><img src="http://petridisc.com/wp-content/uploads/2010/07/tvc-postcard.png" alt="" /></a></p>
<p>Let&#8217;s see what&#8217;s going on the front here:<br />
Clip Art? Check. Oddball, slightly techy, font? Check. In this case it&#8217;s Eurostile. I had quite the affinity for it for a while. Clever &#8216;joke&#8217; set in Comic Sans? Check.</p>
<h3>How about the back?</h3>
<p><a href="http://petridisc.com/wp-content/uploads/2010/07/tvc-postcard-1.png"><img src="http://petridisc.com/wp-content/uploads/2010/07/tvc-postcard-1.png" alt="" /></a><br />
So it appears that I&#8217;ve used 2 more fonts on the back, for a total of 4 for the card. Also notice that there&#8217;s not a capital letter in sight. I probably went years without using anything from the uppercase. All in all,  just awful. </p>
<p>But hey, at least I was trying. Oh, and the band was <a href="http://thevernacannon.com">The Verna Cannon</a>. It was pretty <a href="http://www.youtube.com/watch?v=TIsBYsWchZo">wimpy</a>. </p>
<img src="http://feeds.feedburner.com/~r/petridisc/~4/dYXSZbVEHHo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://petridisc.com/writing/young-and-dumb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://petridisc.com/writing/young-and-dumb/</feedburner:origLink></item>
		<item>
		<title>Junkin’ Find: Kent Mic</title>
		<link>http://feedproxy.google.com/~r/petridisc/~3/1t4pJsceVV8/</link>
		<comments>http://petridisc.com/junkin/kent-mic/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 13:04:09 +0000</pubDate>
		<dc:creator>petridisc</dc:creator>
				<category><![CDATA[Junkin]]></category>
		<category><![CDATA[Recording]]></category>
		<category><![CDATA[Objects]]></category>

		<guid isPermaLink="false">http://petridisc.com/?p=64</guid>
		<description><![CDATA[Even though it might be noon at the flea market and people are already shutting down, if you look there&#8217;s always cool stuff to be had. I got this neat RCA Type 77 knock-off for $5. Does it work? Eh.. &#8230; <a href="http://petridisc.com/junkin/kent-mic/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Even though it might be noon at the <a href="http://maps.google.com/maps/place?oe=utf-8&#038;rls=org.mozilla:en-US:official&#038;client=firefox-a&#038;um=1&#038;ie=UTF-8&#038;q=US+%231+flea+market&#038;fb=1&#038;gl=us&#038;hq=US+%231+flea+market&#038;hnear=Columbia,+SC&#038;cid=7109357214118380681">flea market</a> and people are already shutting down, if you look there&#8217;s always cool stuff to be had. I got this neat <a href="http://www.coutant.org/rca77dx/index.html">RCA Type 77</a> knock-off for $5.</p>
<p><img src="http://petridisc.com/wp-content/uploads/2010/07/kent-mic.jpg" alt="" /></p>
<h3>Does it work?</h3>
<p>Eh.. No. The cable was just a long dry mess with a nub at the end. So I took it apart and lots of crusty junk fell out.</p>
<p><img src="http://petridisc.com/wp-content/uploads/2010/07/mic-2.jpg" /></p>
<p>A sacrificial cable and some soldering and it&#8217;s time to test it out.</p>
<h3>All we need now is a test subject</h3>
<p>Luckily, <a href="http://mollyledfordsongs.com">Molly</a> is willing and is a great singer and songwriter to boot. Here&#8217;s a song of hers called &#8220;My Heart&#8217;s Not Safe With Yours&#8221; recorded with the revived mic.</p>
<div class="post-audio-box">
<div class="post-audio">
<audio controls><br />
<source src="http://petridisc.com/wp-content/uploads/2010/07/myheart.ogg" /><br />
<source src="http://petridisc.com/wp-content/uploads/2010/07/myheart.mp3" /><br />
</audio>
</div>
<p>Download: <a href='http://petridisc.com/wp-content/uploads/2010/07/myheart.mp3'>My Heart&#8217;s Not Safe With Yours</a>
					</div>
<img src="http://feeds.feedburner.com/~r/petridisc/~4/1t4pJsceVV8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://petridisc.com/junkin/kent-mic/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
<enclosure url="http://petridisc.com/wp-content/uploads/2010/07/myheart.ogg" length="1427506" type="audio/ogg" />
<enclosure url="http://petridisc.com/wp-content/uploads/2010/07/myheart.mp3" length="2690427" type="audio/mpeg" />
		<feedburner:origLink>http://petridisc.com/junkin/kent-mic/</feedburner:origLink></item>
	</channel>
</rss>
