<?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>Jim Barraud &#187; WebDev</title>
	<atom:link href="http://jimbarraud.com/category/webdev/feed/" rel="self" type="application/rss+xml" />
	<link>http://jimbarraud.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 16 May 2010 14:15:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Manifest &#8211; Two Months Later</title>
		<link>http://jimbarraud.com/2009/05/19/manifest-two-months-later/</link>
		<comments>http://jimbarraud.com/2009/05/19/manifest-two-months-later/#comments</comments>
		<pubDate>Wed, 20 May 2009 01:46:27 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[manifest]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://jimbarraud.com/?p=839</guid>
		<description><![CDATA[It's been two months since I released my first Wordpress theme, Manifest. And in those two months the response has far exceeded my expectations. Which honestly wasn't that hard since I didn't really have any. Since it's release, Manifest has been listed on various Wordpress theme blogs and used on countless personal blogs. It's also enjoyed over 1100 downloads. Which still boggles my mind.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been two months since I released my first Wordpress theme, <a href="http://jimbarraud.com/manifest/">Manifest</a>. And in those two months the response has far exceeded my expectations. Since it&#8217;s release, Manifest has been listed on various Wordpress theme blogs and used on countless personal blogs. It&#8217;s also enjoyed over 1100 downloads. Which still boggles my mind.</p>

<p>I&#8217;d like to say Thank You to everyone who&#8217;s commented, downloaded and enjoyed Manifest. I really do appreciate the support.</p>

<p>That being said, I&#8217;m considering making some updates to Manifest based on how I&#8217;ve seen it being used in the wild. While I have my own list, I&#8217;d like to hear from you as to what you would like to see (if anything) in an updated version.</p>
]]></content:encoded>
			<wfw:commentRss>http://jimbarraud.com/2009/05/19/manifest-two-months-later/feed/</wfw:commentRss>
		<slash:comments>65</slash:comments>
		</item>
		<item>
		<title>Manifest &amp; IE6</title>
		<link>http://jimbarraud.com/2009/04/03/manifest-ie6/</link>
		<comments>http://jimbarraud.com/2009/04/03/manifest-ie6/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 16:12:15 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[WebDev]]></category>
		<category><![CDATA[manifest]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://jimbarraud.com/?p=820</guid>
		<description><![CDATA[One of the key features of my recently released Wordpress theme, <a href="http://jimbarraud.com/manifest/">Manifest</a>, is that IE6 is unsupported. This hasn't been an issue with the vast majority of people using the theme, but there have been a couple of comments and emails asking about IE6 support. I figured I'd clear the air on the subject.]]></description>
			<content:encoded><![CDATA[<p>One of the key features of my recently released Wordpress theme, <a href="http://jimbarraud.com/manifest/">Manifest</a>, is that IE6 is unsupported. This hasn&#8217;t been an issue with the vast majority of people using the theme, but there have been a couple of comments and emails asking about IE6 support. I figured I&#8217;d clear the air on the subject.</p>

<p>I wanted the process of making my first publicly available theme to be fun. I also wanted to use it as opportunity to use some of the CSS3 (and even CSS2) features that I don&#8217;t normally get to use. IE6 was a roadblock to both objectives. There&#8217;s been some chatter recently in the web design community about when and how IE6 support should be phased out. Some elect for a more progressive approach, while others elect to <a href="http://simplebits.com/notebook/2009/02/13/iegone.html">drop support entirely</a>. For Manifest, I went with the latter.</p>

<p>If you view a Manifest based site in IE6, you&#8217;ll be presented with an unstyled (but completely functional) site with polite message at the top informing your users that they should upgrade their browsers to something more current.</p>

<p>Here&#8217;s some common questions/comments when it comes IE6 support.</p>

<ul>
<li><strong>A large percentage of my users still use IE6</strong> : Manifest may not be the theme for you. The alternative would be to encourage your users to upgrade to a more modern and secure browser.</li>
<li><strong>Many people work in offices that still run IE6</strong> : Encourage your employer to upgrade to a more secure browser. Using a browser that&#8217;s less susceptible to viruses and hacking is good for your employer. Oh, and get back to work! What are you doing browsing the internets on office time?!</li>
<li><strong>Will support for IE6 be added to Manifest?</strong> : No.</li>
</ul>

<p>It&#8217;s not that IE6 support can&#8217;t be added. A good percentage of my day is spent getting complex web applications and ecommerce sites working in IE6. But it&#8217;s not a very fulfilling portion of my day. I&#8217;m not going to go into detail as to why IE6 is the bane of every web developer, there are plenty of other resources available that go into that. Here are a few:</p>

<ul>
<li><a href="http://www.bringdownie6.com/">Bring Down IE6</a>. A newer initiative.</li>
<li><a href="http://dearie6.com">DearIE6</a>. Send your regards.</li>
<li><a href="http://browsehappy.com/">Browse Happy</a>. Switcher stories.</li>
<li><a href="http://www.alistapart.com/articles/tohell">To Hell With Bad Browsers</a>. Written eight years ago and still relevant.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jimbarraud.com/2009/04/03/manifest-ie6/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Pronto</title>
		<link>http://jimbarraud.com/2009/03/10/pronto/</link>
		<comments>http://jimbarraud.com/2009/03/10/pronto/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 21:58:04 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[pronto]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://jimbarraud.com/?p=730</guid>
		<description><![CDATA[A side project of Wilco keyboardist Mikael Jorgensen. I assisted with the XHTML/CSS development and Wordpress integration for the bands site.]]></description>
			<content:encoded><![CDATA[<p><img src="http://jimbarraud.com/wp-content/uploads/2009/03/pronto.jpg" alt="Pronto" width="500" height="599" /></p>

<p>Today marks the release of <a href="http://prontosphere.com">Pronto</a> - All is Golden. Pronto is the side project of <a href="http://wilcoworld.net">Wilco</a> keyboardist Mikael Jorgensen. Don&#8217;t let the Wilco association give you preconceived notions of the sound of the record. It&#8217;s less of the Wilco alt-country sound and more of a grass roots Americana sound. I&#8217;ve heard some refer to it as AM Radio rock. I&#8217;m not exactly sure what that is (I hear the older folks used to listen to it), but what I do know is that it sounds damn good and you should pick yourself up a copy at the the <a href="http://www.contraphonic.com/con/catalog.php">Contraphonic web store</a>, <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?id=304190643&amp;s=143441">iTunes</a> or <a href="http://www.amazon.com/All-is-Golden/dp/B001RK28ZM/">Amazon</a>.</p>

<p>In addition to the new album, today also marks the launch of the new <a href="http://prontosphere.com">Pronto site</a>. I assisted in the XHTML/CSS development and Wordpress implementation. Visit today to find out the latest band news, tour dates and sign up for their newsletter. They&#8217;re also on that hip new thing called <a href="http://twitter.com/prontosphere/">Twitter</a>, so you can follow them there as well.</p>

<p><em><strong>Full Disclosure:</strong> The exceptional drummer of Pronto, Mr. Greg O&#8217;Keeffe, is not only a friend of mine, but also my employer. While that may insinuate some bias in my opinion of the album, it doesn&#8217;t. I&#8217;d just as openly let him know that it sucks if I thought it did&#8230; right after my yearly review.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://jimbarraud.com/2009/03/10/pronto/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Safari 4 Beta &#8211; Initial Impressions</title>
		<link>http://jimbarraud.com/2009/02/25/safari-4-beta-initial-impressions/</link>
		<comments>http://jimbarraud.com/2009/02/25/safari-4-beta-initial-impressions/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 19:28:27 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[Review]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[safari]]></category>

		<guid isPermaLink="false">http://jimbarraud.com/?p=701</guid>
		<description><![CDATA[Yesterday Apple released the public beta for <a href="http://www.apple.com/safari/">Safari 4</a>, their latest and greatest web browser. I've always been a Safari fan. It's always seemed faster then the other browsers and has lead the way in implementing new standards and experimental features. And Safari 4 builds on that, while taking a couple missteps. Let's take a look at some of the pros and cons.]]></description>
			<content:encoded><![CDATA[<p>Yesterday Apple released the public beta for <a href="http://www.apple.com/safari/">Safari 4</a>, their latest and greatest web browser. I&#8217;ve always been a Safari fan. It&#8217;s always seemed faster then the other browsers and has lead the way in implementing new standards and experimental features. And Safari 4 builds on that, while taking a couple missteps. Let&#8217;s take a look at some of the pros and cons.</p>

<h4>Pros</h4>

<ul>
<li><strong>Speed.</strong> Safari 4 is significantly faster than any currently shipping browser and it&#8217;s very noticeable upon use. I say shipping because the current nightly builds of Firefox <a href="http://crave.cnet.co.uk/software/0,39029471,49301219,00.htm">appear to be on par</a> in terms of performance.</li>
<li><strong>Coverflow History.</strong> I&#8217;ve usually found browser history to pretty much useless unless you know the exact time your were looking at a particular site. Being able to scan through your history as a series screenshots is awesome and makes using the browser history much more usable.</li>
<li><strong>Topsites.</strong> While not particularly ground breaking (this was introduced with <a href="http://google.com/chrome/">Google Chrome</a>, topsites is a nice to have feature that will display your most visited sites as your homepage and notify you if they&#8217;ve changed.</li>
<li><strong>New Web Developer Tools.</strong> I haven&#8217;t had the time to fully try out the new web developer tools, but from my quick poking around I can tell they&#8217;re vastly improved over the previous version. Time will tell if they give Firebug any kind of run for it&#8217;s money.</li>
<li><strong>New Web Technology Support.</strong> I&#8217;m itching to try out some of the new standards (non-standards) support for upcoming web technologies they&#8217;ve added.</li>
</ul>

<h4>Cons</h4>

<ul>
<li><strong>Tabs at the top.</strong> Placing the tabs at the top of the window is an interesting choice, but I feel it&#8217;s done purely because google did it with <a href="http://google.com/chrome/">Chrome</a>. I don&#8217;t have so much an issue with the tabs at the top as much as I do with how they&#8217;re implemented. Now that the tabs are at the top in the window title bar, you can&#8217;t just drag anywhere on the tab to move it around. Doing that moves the window. You need to click and drag on the designated area on the far right of the tab to move it. You can also no longer double click anywhere on the tab bar to create a new tab, you need to click the designated button to do so. And visually having the tabs break up the title bar is a little jarring, especially when you have other windows layered on top of them as in the following image.</li>
</ul>

<p><img src="http://jimbarraud.com/wp-content/uploads/2009/02/tablayer.png" alt="Finder Tabs" width="500" height="145" class="postImage" /></p>

<p>Overall I&#8217;m pretty impressed with the new Safari beta. And it is just that, a beta. I have noticed a couple bugs here and there, but no show stoppers. Like I said, my only real complaint is the new tabs, I&#8217;m just not digging them. Luckily there are a couple of <a href="http://swedishcampground.com/safari-4-hidden-preferences">hidden Safari preferences</a>, one of which that allows you to revert back to the old tab style.</p>

<p>On <a href="http://search.twitter.com/search?q=%22Safari+4+tabs%22">twitter</a> (my new favorite gauge of public opinion) I&#8217;ve noticed that the general reaction to the tabs has either been met with absolute dislike or the &#8220;going to try and get used to it&#8221; attitude. Along with a smattering of people who really like it. It will be interesting to see how Apple responds in further betas or in the final product.</p>
]]></content:encoded>
			<wfw:commentRss>http://jimbarraud.com/2009/02/25/safari-4-beta-initial-impressions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New Site Design</title>
		<link>http://jimbarraud.com/2009/02/17/new-site-design/</link>
		<comments>http://jimbarraud.com/2009/02/17/new-site-design/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 03:36:48 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://jimbarraud.com/?p=690</guid>
		<description><![CDATA[It's been a while since my last major redesign, so I figured now was as good a time as any to launch this one. I've ditched the single column stream of news format for a more traditional approach. With this design I was aiming to get a bit more organized in how I'm presenting content on the site.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since my last major redesign, so I figured now was as good a time as any to launch this one. I&#8217;ve ditched the single column stream of news format for a more traditional approach. With this design I was aiming to get a bit more organized in how I&#8217;m presenting content on the site. Two sections in particular that I wanted to break out were my <a href="/photography/">photography</a> and <a href="/work/">projects I&#8217;ve worked on</a>. Each of these now have there own separate sections on the site.</p>

<p>I&#8217;m not going to go too much into detail with what&#8217;s changed visually or technically. I&#8217;ll just invite you to check it out and let me know what you think. I&#8217;m still cleaning up a bit of the code and will probably be making tweaks over the coming weeks, but overall I&#8217;m pretty happy with this one.</p>

<p>One thing I will mention though is that I&#8217;ve completely dropped support for IE6. So the 36 of you out there who are still using it to visit this site will get a completely unstyled experience. <a href="http://getfirefox.com">It&#8217;s time to upgrade people</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jimbarraud.com/2009/02/17/new-site-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Email Newsletter Makover Followup</title>
		<link>http://jimbarraud.com/2009/01/16/email-newsletter-makover-followup/</link>
		<comments>http://jimbarraud.com/2009/01/16/email-newsletter-makover-followup/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 14:35:51 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[WebDev]]></category>
		<category><![CDATA[campaign]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html email]]></category>
		<category><![CDATA[marketing]]></category>
		<category><![CDATA[newsletter]]></category>

		<guid isPermaLink="false">http://jimbarraud.com/?p=388</guid>
		<description><![CDATA[As a followup to my original <a href="http://jimbarraud.com/2008/11/02/email-newsletter-makeover/">Email Newsletter Makeover</a> post, I wanted to share the latest Mini email newsletter I received this morning. It's an improvement in that I can actually read the header and footer text and they are more effectively used img alt tags. But there's still a lot of room for improvement.]]></description>
			<content:encoded><![CDATA[<p>As a followup to my original <a href="http://jimbarraud.com/2008/11/02/email-newsletter-makeover/">Email Newsletter Makeover</a> post, I wanted to share the latest Mini email newsletter I received this morning. It&#8217;s an improvement in that I can actually read the header and footer text and they are more effectively used img alt tags. But there&#8217;s still a lot of room for improvement. For example, why is all the main text your writing in order to sell your product embedded in an image?</p>

<p>Below are screenshots showing the email with images off (default) and images on.</p>

<p><img src="http://jimbarraud.com/wp-content/uploads/2009/01/newminiemail.jpg" alt="" title="Mini Email" width="500" height="419" /></p>

<p><img src="http://jimbarraud.com/wp-content/uploads/2009/01/miniemailimages.jpg" alt="" title="Mini Email with Images" width="500" height="825" /></p>
]]></content:encoded>
			<wfw:commentRss>http://jimbarraud.com/2009/01/16/email-newsletter-makover-followup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Email Newsletter Makeover</title>
		<link>http://jimbarraud.com/2008/11/02/email-newsletter-makeover/</link>
		<comments>http://jimbarraud.com/2008/11/02/email-newsletter-makeover/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 00:07:16 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[WebDev]]></category>
		<category><![CDATA[campaign]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html email]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[marketing]]></category>
		<category><![CDATA[newsletter]]></category>

		<guid isPermaLink="false">http://jimbarraud.com/?p=306</guid>
		<description><![CDATA[Email newsletters are popular form of communication when it comes to companies marketing their products. The most popular being HTML based email newsletters. These are the newsletters with the pretty pictures and text that look like a web page. Well, sometimes they look that way if the developer of the newsletter took the proper email [...]]]></description>
			<content:encoded><![CDATA[<p>Email newsletters are popular form of communication when it comes to companies marketing their products. The most popular being HTML based email newsletters. These are the newsletters with the pretty pictures and text that look like a web page. Well, sometimes they look that way if the developer of the newsletter took the proper email degradation precautions. Often though HTML email newsletters resemble some random blocks of colors with random links thrown in. But it doesn&#8217;t need to be that way.</p>

<p>Lets take an email I recently received as an example.</p>

<p><img src="http://jimbarraud.com/wp-content/uploads/2008/11/mini_screen11.gif" alt="" title="Screen 1" width="500" height="384" /></p>

<p>At first sight this resembles a typical spam email. Usually a spam email that made it through my spam filter that&#8217;s trying to sell me something I don&#8217;t need, which I would just mark as spam. But looking closer I see it&#8217;s from MINI. I signed up to receive information from this company, but due to it&#8217;s poor presentation I would have just assumed it was spam and trashed it. But why does it look like this?</p>

<p>The common default for most email applications is to not display images that are contained within an email. This is an anti-spam measure. Spam often tracks the success and validity of the email it was sent to through the display of the images contained within the message. In order to view an HTML based email properly the user either needs to change this default behavior in the applications preferences (not a good idea) or by clicking the &#8220;display images&#8221; button that your email program will usually display. But as you can see from the following screenshot, even pressing the &#8220;display images&#8221; link only gets us half the way there. We&#8217;re still missing the text that&#8217;s displayed above and below the images because it&#8217;s black text on a black background. And the text that&#8217;s missing is important. It explains how to unsubscribe from receiving these newsletters should I want to. And ironically it also explains that if I&#8217;m having trouble viewing the email, I can click a link to view it properly. So much for that.</p>

<p><img src="http://jimbarraud.com/wp-content/uploads/2008/11/mini_screen2.gif" alt="" title="Screen 2" width="500" height="725" /></p>

<p>So how can this be fixed? I&#8217;ve gave myself one hour to create a fixed version of this email from scratch to demonstrate.</p>

<p>First I removed the black background that spanned the entire email. This allowed the header and footer text of the message to be shown, since it wasn&#8217;t visible due to the text color also being black. Instead of changing the text color to white, I choose to remove the black background so there is more focus on the message and less on the header and footer of the email.</p>

<p>Next I added alt text to all the images being used in the email. When using images that contain text within the image, use the alt tag. The image alt tag will display the text contained within the image if the image is not displayed. Also keep in mind that the default display color of the text will be black, so if you choose to you use a black background such as in this email, you&#8217;ll need to apply a color style to the image to change the color of the alt text so it&#8217;s readable.</p>

<p>With those small changes, the email that the recipient would receive would look like the following.</p>

<p><img src="http://jimbarraud.com/wp-content/uploads/2008/11/mini_screen31.gif" alt="" title="Screen 3" width="500" height="394" /></p>

<p>But this can be improved even further.</p>

<p>I&#8217;m a big advocate of using pure HTML text and not using images to layout your text. Images are often used to ensure a particular font is used. But I believe the cost in lost usability and accessibility is too high for ensuring your particular font is displayed (the one exception being logo branding). So I&#8217;ve created a second version of the email removing the image based fonts for pure HTML based text.</p>

<p>As you can see in the following screenshot, even without the images being displayed the visual style being sought by the company still comes through.</p>

<p><img src="http://jimbarraud.com/wp-content/uploads/2008/11/mini_screen41.gif" alt="" title="Screen 4" width="500" height="520" /></p>

<p>When we choose to display images, here is our final email.</p>

<p><img src="http://jimbarraud.com/wp-content/uploads/2008/11/mini_screen5.gif" alt="" title="Screen 5" width="500" height="708" /></p>

<p>As I mentioned previously, these changes took less than an hour. But they moved the visual presentation and accessibility of the email miles ahead of it&#8217;s previous incarnation.</p>
]]></content:encoded>
			<wfw:commentRss>http://jimbarraud.com/2008/11/02/email-newsletter-makeover/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Is Your Username Taken?</title>
		<link>http://jimbarraud.com/2008/09/24/is-your-username-taken/</link>
		<comments>http://jimbarraud.com/2008/09/24/is-your-username-taken/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 14:42:21 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[social networking]]></category>
		<category><![CDATA[sykes]]></category>
		<category><![CDATA[username]]></category>

		<guid isPermaLink="false">http://jimbarraud.com/?p=278</guid>
		<description><![CDATA[My friend and colleague Jon Sykes recently launched his latest side-project usernamecheck.com. It&#8217;s a service for checking a slew of social networks to see if the username you regularly use is taken or not. Actually, you may have heard of it since it&#8217;s been getting a ton of press lately. It&#8217;s been mentioned by swissmiss, [...]]]></description>
			<content:encoded><![CDATA[<p>My friend and colleague <a href="http://jon.sykes.me">Jon Sykes</a> recently launched his latest side-project <a href="http://usernamecheck.com">usernamecheck.com</a>. It&#8217;s a service for checking a slew of social networks to see if the username you regularly use is taken or not. Actually, you may have heard of it since it&#8217;s been getting a ton of press lately. It&#8217;s been mentioned by <a href="http://swissmiss.typepad.com/weblog/2008/09/where-is-your-u.html">swissmiss</a>, <a href="http://lifehacker.com/5053916/find-out-where-a-username-is-already-registered">Lifehacker</a> and <a href="http://news.cnet.com/8301-17939_109-10049298-2.html?tag=newsLatestHeadlinesArea.0">CNET</a>. Turns out a lot of people like keeping tabs on their brand and identity when it comes to social networks. Companies like <a href="http://www.myspace.com/cocacola">Coca-Cola</a> could appreciate something like this.</p>

<p>Mr. Sykes has recruited me to help out with the UI and design of the site. So look for updates to <a href="http://usernamecheck.com">usernamecheck.com</a> in the coming weeks (or days).</p>
]]></content:encoded>
			<wfw:commentRss>http://jimbarraud.com/2008/09/24/is-your-username-taken/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Microsoft CSS Vendor Extensions</title>
		<link>http://jimbarraud.com/2008/09/22/microsoft-css-vendor-extensions/</link>
		<comments>http://jimbarraud.com/2008/09/22/microsoft-css-vendor-extensions/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 00:19:08 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://jimbarraud.com/2008/09/22/microsoft-css-vendor-extensions/</guid>
		<description><![CDATA[In Microsoft&#8217;s march toward full CSS 2.1 compliance with IE8, they&#8217;ve announced IE8 will be supporting the vendor prefix for proprietary and partially implemented CSS properties. But in true Microsoft fashion they prefer to be one step behind with the omission of -ms-border-radius. (via simplebits)
]]></description>
			<content:encoded><![CDATA[<p>In Microsoft&#8217;s march toward full CSS 2.1 compliance with IE8, they&#8217;ve announced IE8 will be supporting the vendor prefix for proprietary and partially implemented CSS properties. But in true Microsoft fashion they prefer to be one step behind with the omission of -ms-border-radius. (<a href="http://www.simplebits.com/notebook/2008/09/19/ms.html">via simplebits</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://jimbarraud.com/2008/09/22/microsoft-css-vendor-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Magical CSS Table Cell</title>
		<link>http://jimbarraud.com/2008/06/04/the-magical-css-table-cell/</link>
		<comments>http://jimbarraud.com/2008/06/04/the-magical-css-table-cell/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 18:37:33 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[WebDev]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[tables]]></category>

		<guid isPermaLink="false">http://jimbarraud.com/?p=142</guid>
		<description><![CDATA[Back in the dark ages of web markup, the most reliable way to layout anything was by using a table. One of the best utilization&#8217;s of the table-based layout was laying out a form. We&#8217;ve come a long way in breaking away from laying out forms in tables. There are plenty of techniques for doing [...]]]></description>
			<content:encoded><![CDATA[<p>Back in the dark ages of web markup, the most reliable way to layout anything was by using a table. One of the best utilization&#8217;s of the table-based layout was laying out a form. We&#8217;ve come a long way in breaking away from laying out forms in tables. There are plenty of techniques for doing this that have <a href="http://www.sitepoint.com/article/fancy-form-design-css" title="Fancy Form Design Using CSS">already been discussed</a>, so I&#8217;m not going to rehash that. Some would even argue that tables are still the most reliable to layout forms.</p>

<p>There&#8217;s one aspect of table based layouts that has eluded the non-table based layouts. The magic of the table cell. Or more specifically, the magic of multiple table cells working in unison. If the width of one table cell expands, all the others in the column follow along. This is especially useful when it comes to laying out forms. When laying out a form with tables, one cell is defined as the form label and the adjacent cell is the actual form element. This is repeated down the table columns for additional form elements. Instead of having to explicitly define a width for the label cell, the form label widths can be defined by width of the cell with the longest text label. This helps keep the form elements and form labels properly aligned without having to define an explicit width for each individual form label.</p>

<p>When it comes to non-table based layouts, each element is independent of the other. If the text size in one form label is longer than the others, the other labels don&#8217;t care. They stay right where they are with their own defined width. To get the form labels and elements properly aligned, you need to explicitly define the width of all your labels. Which can be a totally acceptable solution if you know what the content of every form will be and how long the average form label will be. But when it comes to dynamic systems that may have a single form layout framework used for all forms throughout the system, you may never know what text is thrown into the form labels or how large the form may be. Leaving you&#8217;re explicitly defined form structure in a highly dynamic system to become inconsistent at times.</p>

<p><img src="http://jimbarraud.com/wp-content/uploads/2008/06/csscell2.png" alt="" title="Fixed width form label example" width="500" height="354" />
<span class="caption">Two forms with explicitly defined widths with varying length text labels</span></p>

<p>So why go with the non-table based solution? Flexibility. The flexibility you have with your form layouts far outweigh this one issue. Want you&#8217;re labels to the left of your form element instead of the top? Or maybe on the right instead of the left? It&#8217;s a matter of just changing the CSS declarations related to the label. To do that with a table based structure, you need to restructure the table. And within dynamic systems that may have that form distributed through several files, you could be in for a lot of hurt in updating that table.</p>

<p>Which brings us back to the special magic of the table cell. For a long time it&#8217;s been defined in the <a href="http://www.w3.org/TR/CSS21/visuren.html#display-prop">CSS 2.1 specification</a> that the &#8220;display&#8221; property could not only define the layout of an element as block or inline, you could also define it as table, table-row, table-cell and various other table properties. These table based display properties allow you to define other elements, such as divs, to take on the structural properties of these table elements. But support for these property values has been spotty or non-existent in most of the major browsers. But this will be changing with the upcoming crop of new browsers.</p>

<p>In trying to come up with optimal form layout markup for one of our clients at <a href="http://mediahive.com" title="Media-Hive">the Hive</a>, I wanted to find a solution for the form label issue described above. The following is some sample markup of a simple form.</p>

<pre><code> &lt;div class="myForm"&gt;
    &lt;div class="row"&gt;
      &lt;label for="text1"&gt;Label&lt;/label&gt;
      &lt;input type="text" name="text1" /&gt;
    &lt;/div&gt;
    &lt;div class="row"&gt;
      &lt;label for="text3"&gt;Here's a super long label&lt;/label&gt;
      &lt;input type="text" name="text3" /&gt;
    &lt;/div&gt;
    &lt;div class="row"&gt;
      &lt;label for="text2"&gt;Another label&lt;/label&gt;
      &lt;input type="text" name="text2" /&gt;
    &lt;/div&gt;
  &lt;/div&gt;
</code></pre>

<p>The goal is for all the labels to be align flush right against the form elements, have both the form elements and labels aligned vertically, and have the overall form aligned to the left of the containing element. But I don&#8217;t want to assign a width to the label because due to the dynamic nature of the form, I won&#8217;t know what the length of the label text will be or how many elements may makeup the form on a given page. For example, if I define the label width as 200px and there&#8217;s only two form elements with the labels of First and Last, the form won&#8217;t be aligned flush left of the containing element due to the large label width and short text strings within it.</p>

<p>This is where the table based display properties come in handy. I&#8217;m able to layout my form using semantic markup, but I&#8217;m then able to define that semantic markup to use some of the layout qualities of a table. I&#8217;ve essentially defined a sudo table by declaring these table based values in the display properties of various CSS element declarations.</p>

<pre><code>.myForm{
  display: table;
}
.row{
  display: table-row;
}
label{
  display: table-cell;
  text-align: right;
  padding: 0 5px 10px 0;
}
</code></pre>

<p>This works in Safari 3.1, Opera 9, Firefox 3 (RC 1) and the IE8 beta. The IE8 beta is a little flaky, but it&#8217;s an early beta and there&#8217;s <a href="http://blogs.msdn.com/ie/archive/2008/03/05/internet-explorer-8-beta-1-for-developers-now-available.aspx">still more work to do on the CSS front for IE</a>. Firefox 2 support is partial and IE6/7 support is non-existent. So use of this technique will depend on which browsers you choose to support.</p>

<p>Is this a solution to be used every time you create a form? No, of course not. This may even be an edge case for most people as their forms may be pretty straight forward.  But there often times I find myself with the need to have the actual text of the label define width of the form labels. As with all design decisions, it really depends on the context within which your using your form and the problem you&#8217;re trying to solve.</p>

<p><a href="http://jimbarraud.com/postexamples/magicalCSSCell.html">You can view example of this technique here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jimbarraud.com/2008/06/04/the-magical-css-table-cell/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.346 seconds -->
