<?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>Mesmer Lab &#187; Web Design</title>
	<atom:link href="http://www.mesmerlab.com/tag/web-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mesmerlab.com</link>
	<description>Tech and trends in web design+development.</description>
	<lastBuildDate>Tue, 22 Jun 2010 00:59:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Digging into Wordpress: Book Released</title>
		<link>http://www.mesmerlab.com/digging-into-wordpress-book-released/</link>
		<comments>http://www.mesmerlab.com/digging-into-wordpress-book-released/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 18:05:49 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[css tricks]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[Usability]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.mesmerlab.com/?p=709</guid>
		<description><![CDATA[The much-anticipated book about the ins and outs of Wordpress is finally here. Chris Coyier and Jeff Starr released Digging into Wordpress today. Currently, the PDF version is available for immediate download for $27. 
I suggest you pick up this book if you&#8217;re new to Wordpress or if you&#8217;ve been using it for a while. [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="Digging into Wordpress" src="http://digwp.com/images/book-cover.png" title="Digging into Wordpress" class="alignnone postimage" width="300" height="247" />The much-anticipated book about the ins and outs of Wordpress is finally here. Chris Coyier and Jeff Starr released <a href="https://www.e-junkie.com/ecom/gb.php?cl=88539&#038;c=ib&#038;aff=47911">Digging into Wordpress</a> today. Currently, the PDF version is available for immediate download for $27. </p>
<p>I suggest you pick up this book if you&#8217;re new to Wordpress or if you&#8217;ve been using it for a while. Chris is great at explaining how web-related concepts work at CSS Tricks. He joins Jeff Star in this project, and the professionalism in the product is stunning.<span id="more-709"></span></p>
<h3>Features</h3>
<p>Listed on the book&#8217;s site are the following features:</p>
<ul>
<li>How to get things set up right</li>
<li>Building themes and how they work</li>
<li>Keeping sites secure and optimized</li>
<li>Using WordPress as a CMS</li>
<li>Integrate things like Twitter and Delicious</li>
<li>Making the most out of WordPress</li>
</ul>
<h3>Peek Inside!</h3>
<p>From CSS Tricks, Chris offers a <a href="http://css-tricks.com/the-book-digging-into-wordpress/">peek inside the book</a>. I really like how much color and engaging images they&#8217;ve included. This is a welcome change from all the black-and-white instructional books I know you&#8217;re used to.</p>
<p><img alt="Look inside Digging into Wordpress" src="http://css-tricks.com/wp-content/csstricks-uploads/sneakpeak.jpg" title="Look inside Digging into Wordpress" class="aligncenter" width="478" height="767" style="margin:0 auto;" /></p>
<h3>Buy the Book</h3>
<p>You can <a href="https://www.e-junkie.com/ecom/gb.php?cl=88539&#038;c=ib&#038;aff=47911">buy the PDF now</a> and get the print version at a discount later. You will also have access to updated versions via a download link in your email when they&#8217;re released. Free upgrades for life are always awesome.</p>
<p>So go on over and <a href="https://www.e-junkie.com/ecom/gb.php?cl=88539&#038;c=ib&#038;aff=47911">pick up Digging into Wordpress</a> now!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mesmerlab.com/digging-into-wordpress-book-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Anchor Tags, IDs, Google and You!</title>
		<link>http://www.mesmerlab.com/anchor-tags-ids-google-and-you/</link>
		<comments>http://www.mesmerlab.com/anchor-tags-ids-google-and-you/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 22:52:47 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Usability]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[search engine]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[web psychology]]></category>

		<guid isPermaLink="false">http://www.mesmerlab.com/?p=625</guid>
		<description><![CDATA[So Google added yet another facet to their SERPs this week. The new feature allows you to jump to the information you want right from the search snippets. At first glance it seems they&#8217;re acknowledging the proper use of the named anchor tag. Further investigation turns up clues of nimble ID attribute seeding.
Page Division Benefits [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://googleblog.blogspot.com/2009/09/jump-to-information-you-want-right-from.html"><img src="http://www.mesmerlab.com/wp-content/uploads/2009/10/google-jump-to.gif" alt="Jump to the information you want right from the search snippets" title="Jump to the information you want right from the search snippets" width="275" height="250" class="alignright size-full wp-image-629 postimage" /></a>So Google added yet another facet to their <abbr title="Search Engine Results Page">SERPs</abbr> this week. The new feature allows you to <a href="http://googleblog.blogspot.com/2009/09/jump-to-information-you-want-right-from.html">jump to the information you want right from the search snippets</a>. At first glance it seems they&#8217;re acknowledging the proper use of the named anchor tag. Further investigation turns up clues of nimble ID attribute seeding.</p>
<h3 name="Page Division Benefits for Visitors to Your Web Site">Page Division Benefits for Visitors to Your Web Site</h3>
<p>This is great news for both sides of the <abbr title="Search Engine Optimization">SEO</abbr> table. The search engine user can click directly to the desired information instead of wandering around the page once they&#8217;re directed to a site by the SERP. The old way was sort of like getting directions to a house party that left you at the entrance of a neighborhood. This new way leads you to the right driveway.</p>
<p><span id="more-625"></span></p>
<h3 name="Page Division Benefits for Web Developers"><a name="Page Division Benefits for Web Developers"></a>Page Division Benefits for Web Developers</h3>
<p>For the web professional, proper SEO techniques will allow you more granularity and specificity in your SERP presence. A few choice placements of the correct anchor tags (and possibly usage of the obligatory ID tags) can net great returns and more &#8216;good&#8217; traffic to your sites. When I say &#8216;good&#8217; traffic, I mean people who won&#8217;t end up in the <a href="http://en.wikipedia.org/wiki/Bounce_rate">bounced</a> column in your analytics.</p>
<p>For a more in-depth look at how the new algorithm works, please jump over to Site Booster&#8217;s article entitled <a href="http://www.site-booster.com/blog/2009/09/new-strategy-to-increase-search-engine-visibility/">New Strategy to Increase Search Engine Visibility</a>.</p>
<h3 name="What Comes Next?">What Comes Next?</h3>
<p>I&#8217;m more interested in if IDs will be included in the Google SERPs. I&#8217;d rather give IDs double duty than have to insert &lt;a&gt; tags into my code. Most well-written pages employ header tags, &lt;h1&gt; and so on.</p>
<p>The example Google gives on their blog uses:</p>
<blockquote><p>&lt;a id=&#8221;HDL&#8221; name=&#8221;HDL&#8221;&gt;</p></blockquote>
<p>Now I&#8217;m not sure if the Google algorithm is triggering on the anchor name or the ID. Big points to the big G if they use both. I&#8217;m using different methods in different areas of this article to see how things turn out.</p>
<h3 name="Your Turn">Your Turn</h3>
<p>Let me know what you&#8217;re thinking about this new avenue of Search Engine Optimization and how you plan to implement it. I&#8217;d love to hear your ideas in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mesmerlab.com/anchor-tags-ids-google-and-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google&#8217;s New Sandbox Search &#8211; Caffeine</title>
		<link>http://www.mesmerlab.com/googles-new-sandbox-search-caffeine/</link>
		<comments>http://www.mesmerlab.com/googles-new-sandbox-search-caffeine/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 21:31:44 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Usability]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Tech]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[search engine]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[web psychology]]></category>

		<guid isPermaLink="false">http://www.mesmerlab.com/?p=592</guid>
		<description><![CDATA[It seems the search engine market is becoming competitive again. In response to the recent release of Microsoft&#8217;s &#8216;decision engine&#8217; Bing, Google is stepping up their game.
Competition breeds innovation, proof that capitalism works. 
This week, Google released their new sandbox search engine, nicknamed &#8216;Caffeine&#8217;. In my initial tests, it seems Caffeine results are focused more [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/08/coffee-shaking.jpg" alt="coffee-shaking" title="coffee-shaking" width="314" height="400" class="alignnone size-full wp-image-597 postimage" />It seems the search engine market is becoming competitive again. In response to the recent release of Microsoft&#8217;s &#8216;decision engine&#8217; Bing, Google is stepping up their game.</p>
<p>Competition breeds innovation, proof that capitalism works. </p>
<p>This week, Google released their new sandbox search engine, nicknamed &#8216;Caffeine&#8217;. In my initial tests, it seems Caffeine results are focused more on articles and web pages, not video or news results. Youtube and news items are typically still on the first page, but they are further down instead of always sticking to the top.</p>
<p>It seems you can&#8217;t saturate your Youtube video description with keywords anymore. Content is king.<span id="more-592"></span></p>
<div style="clear:both;margin:0;padding:0"></div>
<p>I have had pretty good results on SERPs by using the Wordpress platform, which in cooperation with the <a href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/">All-In-One SEO</a> plugin, makes META info maintenance a breeze. You have control of each page&#8217;s data, as well as the overall site&#8217;s META keywords and description. And well, content is king. Write a good article and you should see good results.</p>
<p>My best performing article here at Mesmer Lab is about how I add custom fonts to my Wordpress installation. I wanted an easy solution for having a unique look, but flexible enough to only require regular text, not opening Photoshop every time I need a new header image.</p>
<p>So to that end, when you search for &#8216;add custom font wordpress&#8217; right now you&#8217;ll find the following results:</p>
<ul>
<li>Google (current): <a href="http://tr.im/wi30">http://tr.im/wi30</a></li>
<li>Google Sandbox: <a href="http://tr.im/wi2Q">http://tr.im/wi2Q</a></li>
<li>Bing: <a href="http://tr.im/wi53">http://tr.im/wi53</a></li>
</ul>
<blockquote><p>First off, let me explain how good <a href="http://tr.im">tr.im</a> is as a URL shortener. Create an account with them and you can track clicks. That alone should give you enough incentive to use them exclusively. Add that they use unique URLs and you&#8217;ll never use another URL shortener again.</p></blockquote>
<p>Now there are some interesting differences here. The current Google SERP has my article at #4, including an indented link for a related article on my site. Indented results are a function of Google&#8217;s algorithm and are typically seen as having more authority. I was pretty jazzed when I noticed I had one. </p>
<p>The Caffeine SERP shows the same article at #3, pushing ahead of the result from Digg. Hmm, what does that mean? Google is giving less weight to bookmarking sites? I never really got into Digg, but I use Del.icio.us pretty regularly. And although I see their merit, I&#8217;d rather find actual articles in my SERPs rather than a middleman.</p>
<p>And well, Microsoft hates my site it seems. Where&#8217;s Mesmer Lab on Bing? Not sure. I went through the first 10 pages and couldn&#8217;t find a trace. I gave up digging deeper into the SERP pages when I started seeing results that weren&#8217;t even related to Wordpress or fonts.</p>
<p>So what does this mean to you? Well if you&#8217;re a typical web user you should start seeing more direct links rather than having to click through a bookmark aggregator. Less clicks, less bandwidth, more efficiency. If you&#8217;re a web developer, your SEO prowess should shine through much easier. Using Caffeine could possibly give your expertise a 10% boost in authority. Content writers should also see similar results. Just keep writing good content and your analytics and AdSense results should validate your worth.</p>
<p>The people over at Facesaerch have developed a side-by-side comparison of the current Google engine and Caffeine. Test it out at <a href="http://www.facesaerch.com/caffeine/">http://www.facesaerch.com/caffeine/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mesmerlab.com/googles-new-sandbox-search-caffeine/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Create a New Email Template in Magento</title>
		<link>http://www.mesmerlab.com/create-new-email-template-magento/</link>
		<comments>http://www.mesmerlab.com/create-new-email-template-magento/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 21:26:30 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.mesmerlab.com/?p=537</guid>
		<description><![CDATA[Emails are a big part of the online world, so it follows that a professional ecommerce site should have professional email templates. A full-featured ecommerce solution is what you&#8217;ll find with Magento, an open source solution for selling products online. Magento provides a system to keep the more basic contact times with your visitors smooth [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.magentocommerce.com/"><img src="http://www.mesmerlab.com/wp-content/uploads/2009/06/magento-logo.jpg" alt="Magento Open Source eCommerce" title="magento-logo" width="276" height="250" class="size-full wp-image-541 postimage" /></a>Emails are a big part of the online world, so it follows that a professional ecommerce site should have professional email templates. A full-featured ecommerce solution is what you&#8217;ll find with <a href="http://www.magentocommerce.com/" target="_blank">Magento, an open source solution for selling products online</a>. Magento provides a system to keep the more basic contact times with your visitors smooth and carefree. With open source comes great customization (and complexity).</p>
<p>This tutorial will guide you through the steps to create a new email template in Magento. Specifically, you&#8217;ll create the email that your visitors will receive when they sign up for your newsletter. </p>
<p><span id="more-537"></span></p>
<h4>Requirements</h4>
<ul>
<li>Access to your website&#8217;s Magento admin panel</li>
<li>A little knowledge of how HTML emails work</li>
<li>This tutorial</li>
</ul>
<h3>Step One: Create the Template</h3>
<p>I said you need to know a little about how to create an HTML email, but since Magento comes with many templates you can kind of get away without the knowledge at first.</p>
<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/06/admin-login-300x100.png" alt="Magetno&#039;s admin login screen" title="Magetno&#039;s admin login screen" width="300" height="100" class="alignright size-medium wp-image-546 postimage" /></p>
<ul>
<li>Log into your admin panel and navigate to System > Transactional Emails.</li>
<li>Click the &#8216;Add New Template&#8217; button on the top right.</li>
<li>Choose one of the default templates from the first drop down box.</li>
</ul>
<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/06/transactional-emails-300x222.png" alt="System &gt; Transactional Emails" title="System &gt; Transactional Emails" width="300" height="222" class="alignnone size-medium wp-image-571 postimage" />In this tutorial we&#8217;ll be using the &#8216;Newsletter subscription confirmation&#8217; template. This would typically be the first email your visitors would receive so I figured it would be a good choice. Choose the locale of course, then click the &#8216;Load Template&#8217; button.</p>
<div class="clear"></div>
<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/06/template-interface-300x181.png" alt="Template Interface" title="Template Interface" width="300" height="181" class="alignnone size-medium wp-image-554 postimage" />This will load the appropriate template which in this example is located in the /app/code/locale/en_US/template/email/ directory. The filename is &#8216;account_new_confirmation.html&#8217;. As you can see, it is very easy to alter the templates for international support. You can leave most of the template as they have presented it. I&#8217;ve changed the email addresses, the phone number, the store name and the source URL for the logo.</p>
<div class="clear"></div>
<p>Back in the admin panel, give your template a name. To keep things simple, I&#8217;ve used &#8216;Newsletter Subscription Confirmation&#8217; for the name and the subject. Now here&#8217;s where you can modify the template to suit your specific needs. One of the key features of Magento is the ability to have multiple stores within one installation. Therefore you can load the same template in the first half of this step, then modify it for each store in the second half.</p>
<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/06/save-template-300x63.png" alt="Save Template" title="Save Template" width="300" height="63" class="alignnone size-medium wp-image-556 postimage" /> Click the &#8216;Save Template&#8217; button on the top right and you&#8217;ll see your new template in the list of Transactional Emails. Now lets move on to implementing it into your site.</p>
<h3>Step Two: Using Your Template</h3>
<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/06/system-configuration-300x273.png" alt="System Configuration" title="System Configuration" width="300" height="273" class="alignnone size-medium wp-image-560 postimage" />From the top horizontal menu, navigate to System > Configuration.</p>
<div class="clear"></div>
<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/06/customer-newsletter-300x192.png" alt="Customers &gt; Newsletter" title="Customers &gt; Newsletter" width="300" height="192" class="alignnone size-medium wp-image-564 postimage" />Scroll down to the Customers section on the left menu and select Newsletter.</p>
<div class="clear"></div>
<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/06/select-template-300x243.png" alt="Select your new template" title="Select your new template" width="300" height="243" class="alignnone size-medium wp-image-568 postimage" />In the drop down box for Confirmation Email Template, choose the new template you just created. The option just above it should be set to Customer Support. Click the &#8216;Save Config&#8217; button on the top right and you&#8217;re done.</p>
<div class="clear"></div>
<h3>Step Three: Testing Your Template</h3>
<p>Now navigate to the public version of your site to the Newsletter box.</p>
<p>Type in your email and click &#8216;Subscribe&#8217;. Sync your email client and you should see a new email from &#8216;[Site Name] &#8211; Customer Support&#8217; with the subject of &#8216;Newsletter subscription confirmation&#8217;.</p>
<p>Check all the text, make sure the logo shows up and the email addresses and phone number is correct. Make any changes back in the admin at System > Transactional Emails (second image in step one).</p>
<h3>Conclusion</h3>
<p>Magento Commerce, the open source ecommerce solution, can be very intimidating to those of us coming from Wordpress. Its configuration options are very intricate, allowing you to customize designs, layouts and almost every other piece of the site on a per-page basis. Hopefully I&#8217;ve shared some useful knowledge on how to create a new email template in Magento.</p>
<p>Make sure you test your emails extensively. They are acting as your host/hostess, concierge and valet. You want them to be as professional as possible. No typos, easily readable text, and please, be sure to quadruple check your email address and phone number.</p>
<p>A key nugget to remember about HTML emails is you have to put your CSS styling inline. You can&#8217;t reference an external CSS file or even have it in the HEAD. All HTML emails are contained within the BODY tag. Also, don&#8217;t even try using DIVs for your layout. Go old school. Bring out the TABLE tag and party like its 1999. Just look at the example templates they have to get a feel of what is or isn&#8217;t acceptable. If there&#8217;s enough interest, I&#8217;ll write a post on my experience with HTML emails.</p>
<p>I will be adding more quick tutorials like this for Magento as I wade through their user guide and forum. Please feel free to comment or ask a question in the form below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mesmerlab.com/create-new-email-template-magento/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Here&#8217;s a Quick Way to Add a Custom Date Graphic to your WordPress Blog</title>
		<link>http://www.mesmerlab.com/heres-a-quick-way-to-add-a-custom-date-graphic-to-your-wordpress-blog/</link>
		<comments>http://www.mesmerlab.com/heres-a-quick-way-to-add-a-custom-date-graphic-to-your-wordpress-blog/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 23:28:38 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.mesmerlab.com/?p=396</guid>
		<description><![CDATA[You may have noticed the spiffy new calendar icon here at Mesmer Lab. Well I created the graphic purely in Photoshop and have made it available at Graphic River. A future article will explain how I made it, but this article is about how to implement it into your WordPress blog. 
The goal is to [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/03/max-calendar.jpg" alt="Use this calendar image on your custom WordPress blog." title="Use this calendar image on your custom WordPress blog." width="154" height="150" class="alignright size-full wp-image-399 postimage" />You may have noticed the spiffy new calendar icon here at Mesmer Lab. Well I created the graphic purely in Photoshop and have made it available at Graphic River. A future article will explain how I made it, but this article is about how to implement it into your WordPress blog. </p>
<p>The goal is to get rid of the generic-looking display of each article&#8217;s date. The visitor to most sites would want to know when the article is written to see how relevant the ideas, data or techniques are. A bold display of the date lets the user quickly scan and find the publish date.<span id="more-396"></span></p>
<h3>Step One: The Image</h3>
<p>For quickness, you can download the png file I&#8217;m using here, download the <a href="http://graphicriver.net/item/calendar-icon/32314?ref=Serengeti">full source file at Graphic River</a>, or build your own. Just make note of the dimensions since we&#8217;ll be using it as a background image.</p>
<p>You can use most anything as a date icon.  Common metaphors include a calendar like I&#8217;m using or the piece of paper that <a href="http://www.webdesignerwall.com/">Web Designer Wall</a> uses.</p>
<h3>Step Two: The WordPress Code</h3>
<p>We have to create a few new elements to house the date code. This will take the place of the stock date implementation so we can put or own spin on the look and feel. The following is how I&#8217;ve done it here at Mesmer Lab. I&#8217;ve modified the code in the Main Index Template (index.php).</p>
<blockquote><pre><code>&lt;?php if(have_posts()) : while(have_posts()) : the_post(); ?&gt;

<span style="color:red;">&lt;div class="post"&gt;

&lt;p class="date"&gt;
     &lt;?php the_time('M'); ?&gt;
     &lt;span>&lt;?php the_time('d'); ?&gt;&lt;/span&gt;
&lt;/p&gt;</span>

{your post code goes here}

<span style="color:red;">&lt;/div&gt;</span>

&lt;?php endwhile ?&gt;
</code></pre>
</blockquote>
<p>I&#8217;ve created a DIV with the &#8216;post&#8217; class inside the loop. There&#8217;s a tiny bit of CSS applied to this div and I&#8217;ll explain it in a few minutes. </p>
<p>I&#8217;ve used a paragraph element for the main container. The paragraph seemed to work better than a typical DIV, in regards to ease of modification and cross-browser compatibility. This is where I put the month for the article.</p>
<p>The span element works perfectly inside the paragraph tag, simply because I added the &#8216;display:block&#8217; designation. It seemed to play along better instead of a DIV. The numerical date (with leading zero) resides here.</p>
<h3>Step Three: The WordPress CSS</h3>
<blockquote><pre><code>.post {
position:relative;
}</code></pre>
</blockquote>
<p>The wrapping DIV is set to position relatively. This allows absolute positioning inside for the paragraph element. If you don&#8217;t do this, all the dates on the home page will be on top of each other. Don&#8217;t just copy and paste this code into your theme files. If you&#8217;re not using my specific image, your results will not look right.</p>
<blockquote><pre><code>.date {
background:transparent url(<span style="color:red;">'your-image.png'</span>);
position:absolute;
left:-80px;
top:8px;
color:#fff;
width:56px;
height:61px;
padding:14px 0 0 18px;
font:bold 12px Arial;
}</code></pre>
</blockquote>
<p>Next you&#8217;ll need to link the image to the paragraph and position it absolutely inside the div.post element. The padding and width/height are tied together in the box model. You&#8217;ll have to adjust the width and height depending on how much padding you need for the text to show up properly. Typical font styling is present.</p>
<blockquote><pre><code>.date span {
display:block;
width:100%;
text-align:center;
margin-left:-7px;
margin-top:1px;
line-height:26px;
color:#000;
font: italic bold 24px Georgia,"Times New Roman",Times,serif;
}</code></pre>
</blockquote>
<p>To push the numerical date on a second line, I&#8217;ve employed &#8216;display:block&#8217;. Span by nature displays its contents inline. The margin code is for simple positioning. The line-height is so IE will display the whole number. And we round it out with typical font styling.</p>
<h3>Step Four: Adding to Single Posts</h3>
<p>The next step is relatively easy. Open the Single Post (single.php) file and repeat the code you used in Step Two. This goes in the same place, so it should be easy for you to find.</p>
<h3>Conclusion</h3>
<p>Customization will make your Wordpress site unique. You can add a sense of branding by efficient use of colors, icons or other visual elements. By adding a custom date graphic to your Wordpress site, you are on your way to standing out in the crowd. </p>
<p>I hope you enjoyed this tutorial. Comments, suggestions and how you&#8217;ve implemented this on your site are welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mesmerlab.com/heres-a-quick-way-to-add-a-custom-date-graphic-to-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>Lowering Friction with Call To Action Psychology</title>
		<link>http://www.mesmerlab.com/lowering-friction-with-call-to-action-psychology/</link>
		<comments>http://www.mesmerlab.com/lowering-friction-with-call-to-action-psychology/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 20:23:00 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Usability]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[web psychology]]></category>

		<guid isPermaLink="false">http://www.mesmerlab.com/?p=426</guid>
		<description><![CDATA[David Hamill has written an excellent article about the psychology of a good &#8216;call to action&#8217; implementation on your site. He walks you through actual and alternative designs of Twitter, Amazon, Firefox, and why specific things work.
Usability is key. You can have the best information and product, but if there&#8217;s a problem with catching your [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/03/call-to-action.jpg" alt="call-to-action" title="call-to-action" width="279" height="208" class="alignright size-full wp-image-429 postimage" /><a href="http://www.goodusability.co.uk/">David Hamill</a> has written an excellent article about the psychology of a <a href="http://www.uxbooth.com/blog/good-call-to-action-buttons/">good &#8216;call to action&#8217;</a> implementation on your site. He walks you through actual and alternative designs of Twitter, Amazon, Firefox, and why specific things work.</p>
<p>Usability is key. You can have the best information and product, but if there&#8217;s a problem with catching your visitors&#8217; attention on how they can benefit, then you need to rethink your design. David describes how your wording, the positioning of your call to action links, and even the size, will help you convert your visitors into users.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mesmerlab.com/lowering-friction-with-call-to-action-psychology/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a Menu Tree with CSS</title>
		<link>http://www.mesmerlab.com/create-a-graphic-menu-tree-with-css/</link>
		<comments>http://www.mesmerlab.com/create-a-graphic-menu-tree-with-css/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 00:30:34 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[unordered list]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.mesmerlab.com/?p=232</guid>
		<description><![CDATA[In this article I&#8217;ll show you how to get rid of the stock disc that is on the typical unordered list &#60;UL&#62;. This solution will work no matter how many characters are in your list item &#60;LI&#62;. 
You&#8217;ll create two images, throw a little CSS code in the mix, and end up with a very [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/02/feature-image.png" alt="Create a Visual Submenu Tree with Pure CSS" title="Create a Visual Submenu Tree with Pure CSS" width="203" height="226" class="alignright size-full wp-image-314 postimage" />In this article I&#8217;ll show you how to get rid of the stock disc that is on the typical unordered list &lt;UL&gt;. This solution will work no matter how many characters are in your list item &lt;LI&gt;. </p>
<p>You&#8217;ll create two images, throw a little CSS code in the mix, and end up with a very flexible system that will grow with almost anything you throw at it. You can use the already present colors to help your lists tie in with the design. I&#8217;ve used this on a project and the client really liked how it turned out. So continue reading and I&#8217;ll guide you step by step on how to add this customization to your toolbelt. Your clients will love you for it.<span id="more-232"></span></p>
<p><a href="http://www.mesmerlab.com/demo/ul-tree.html" target="_blank">View the demo</a>.</p>
<h3>Step One: Create Two Images</h3>
<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/02/ul-many-closeup.png" alt="LI background image, long" title="LI background image, long" width="96" height="187" class="alignright size-full wp-image-303 postimage" />Open up your image editor of choice and create a new file 16px wide by 100px tall, or however tall you think a single list item will be in your situation. </p>
<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/02/ul-end-closeup.png" alt="LI background image, end" title="LI background image, end" width="96" height="90" class="alignright size-full wp-image-304 postimageleft" />You can get a little creative with it, but I drew a simple 1px line. Setting the background transparent will keep your images future-proof if you ever want to change the background color of the site. </p>
<p>So you will end up with two images, one relatively tall with the horizontal bar at the top and another relatively square with the horizontal part ending where it meets the vertical.</p>
<h3>Step Two: Write the CSS Code</h3>
<p>Now open up your code editor of choice. I&#8217;ve used Dreamweaver forever, but I&#8217;m starting to use Notepad++ more often.</p>
<h5>Clear All Inherent Styling</h5>
<p>The first part of the CSS code is extremely important because Internet Explorer still has the majority of the browser share. It is good practice to have a reset file like <a href="http://meyerweb.com/eric/tools/css/reset/index.html">this one</a>. If you&#8217;re not going to use a reset.css file, you must clear the layout of your list.</p>
<blockquote><pre><code>ul {margin:0;padding:0;}</code></pre>
</blockquote>
<h5>Create The Menu Container</h5>
<p>This is optional, in case you already have a home for your menu. But all subsequent code assumes that the &#8217;submenu&#8217; class is applied to your list&#8217;s parent.</p>
<blockquote><pre><code>.submenu {
	width: 200px;
	border: 1px solid #555;
	font: normal bold 12px Verdana, Arial, sans-serif;
	padding:10px;
	color: #3877C4;
	}</code></pre>
</blockquote>
<h5>UL Code</h5>
<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/02/ul-code.png" alt="Top and bottom padding for spacing, left padding to offset from header text." title="Top and bottom padding for spacing, left padding to offset from header text." width="200" height="185" class="alignright size-full wp-image-346 postimage" />This code will format the unordered list. Add a little top and bottom padding for spacing. The left padding offsets the list from the header text.</p>
<blockquote style="float:left;width:320px;"><pre><code>.submenu ul {
	padding:10px 0 10px 20px;
	}</code></pre>
</blockquote>
<h5>LI Code</h5>
<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/02/li-code.png" alt="Puts in some breathing room in case there are multiple lines. Gets rid of the stock icon. Adds some bottom padding for spacing." title="Puts in some breathing room in case there are multiple lines. Gets rid of the stock icon. Adds some bottom padding for spacing." width="180" height="157" class="alignright size-full wp-image-350 postimage" />The first line puts in a little breathing room if/when your text expands into multiple lines. Setting the &#8216;list-style-type&#8217; to none gets rid of the stock icon. To end up, we apply a little bottom padding for visual goodness.</p>
<blockquote style="float:left;width:340px;"><pre><code>.submenu li {
	line-height:15px;
	list-style-type:none;
	padding:0 0 8px 0;
	}</code></pre>
</blockquote>
<h5>Second Tier UL Code</h5>
<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/02/2ndul-code.png" alt="Top padding to push down from the LI parent. Left padding to indent." title="Top padding to push down from the LI parent. Left padding to indent." width="180" height="107" class="alignright size-full wp-image-354 postimage" />We are now into the second level of the menu. A little top padding pushes this UL down from its LI parent. The left padding indents the UL and can be modified to your taste.</p>
<blockquote style="float:left;width:340px;"><pre><code>.submenu li ul {
	padding: 5px 0 0 18px;
	}</code></pre>
</blockquote>
<h5>Second Tier LI Code</h5>
<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/02/2ndli-code1.png" alt="Left padding to push text off of the image." title="Left padding to push text off of the image." width="179" height="54" class="alignright size-full wp-image-358 postimage" />Now we&#8217;re into the good stuff. Most of your second tier list items will use this piece of code. Make sure you use the correct path to your image file. This is the tall graphic I had you create earlier. Of course we don&#8217;t want it to repeat. And the left padding pushes your LI text over so we can see your shiny new image.</p>
<blockquote style="float:left;width:563px;"><pre><code>.submenu li ul li {
	background-image:url(ul-long.gif);
	background-repeat:no-repeat;
	padding-left:18px;
	}</code></pre>
</blockquote>
<h5>Second Tier LI Code &#8211; Last LI</h5>
<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/02/2ndli-code-end.png" alt="Zero padding. The 18px from .submenu li ul takes care of this. We&#039;re also swapping the background image." title="Zero padding. The 18px from .submenu li ul takes care of this. We&#039;re also swapping the background image." width="162" height="15" class="alignright size-full wp-image-361 postimage" />So up until this point we have only used a single class, the one applied to the container. To be compatible with all browsers we must employ a class to put the endcap on the list. Now we use the smaller graphic of course. We reset the bottom padding to zero because the second tier UL code does this already.</p>
<blockquote style="float:left;width:563px;"><pre><code>.submenu li ul li.end {
	background-image:url(ul-end.gif);
	padding-bottom:0;
	}</code></pre>
</blockquote>
<h5>Second Tier LI Code &#8211; :last-child</h5>
<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/02/last-child.png" alt="Internet Explorer doesn&#039;t recognize the :last-child pseudo-class." title="Internet Explorer doesn&#039;t recognize the :last-child pseudo-class." width="176" height="206" class="alignright size-full wp-image-362 postimage" /><span style="color:red;">This code is not suggested for deployment. This is only for demonstration purposes.</span></p>
<p>So as you might know, Internet Explorer likes to employ its own dialect of CSS. One piece of very useful code that is missing in all IE flavors is the :last-child pseudo class. To be fair, :first-child works fine. When not in demonstration mode with three different menus you&#8217;ll want to use the code below. To facilitate the demo of :last-child alongside two other menus I have dropped a &#8216;lastchild&#8217; class on the second tier UL on the demo page, third box.</p>
<p>Open the page in Firefox, Chrome and Safari. You&#8217;ll see no difference in the far right menu. Open in IE and you&#8217;ll get the standard LI code with the tall graphic on the last LI. Maybe they&#8217;ll add it in IE 8.1?</p>
<blockquote><pre><code>.submenu li ul li:last-child {
	background-image:url(ul-end.gif);
	padding-bottom:0;
	}</code></pre>
</blockquote>
<div class="clear"></div>
<p><a href="http://www.mesmerlab.com/demo/ul-tree.html" target="_blank">View the demo</a>.</p>
<h3>Final Thoughts</h3>
<p>Try out some of these ideas to spruce up my simple design.</p>
<ul>
<li>Arrow on the right side of the images</li>
<li>Curve the vertical line into the horizontal line</li>
<li>Use an animated gif to make your list more dynamic</li>
<li>Use a single sprite instead of two images.</li>
</ul>
<p>If you&#8217;re going to use alpha transparency in your image, you&#8217;ll want to save as a PNG-24. Doing this will skew your colors slightly in Internet Explorer. This is because of the gamma correction saved in the image. Every browser except IE disregards the gamma value. I&#8217;ll show you how to correct this in an upcoming article.</p>
<p>Let me know how you liked this tutorial. Any comments and suggestions are welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mesmerlab.com/create-a-graphic-menu-tree-with-css/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
