<?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>EricJHansel.com</title>
	
	<link>http://www.ejhansel.com</link>
	<description>Art, Wordpress Child Themes, and Web Design.</description>
	<lastBuildDate>Wed, 25 Jan 2012 04:37:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/ejhansel" /><feedburner:info uri="ejhansel" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>ejhansel</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>HTML5 Responsive Site Redesign</title>
		<link>http://feedproxy.google.com/~r/ejhansel/~3/lhNUBOSRHNA/</link>
		<comments>http://www.ejhansel.com/html5-responsive-site-redesign/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 04:46:05 +0000</pubDate>
		<dc:creator>Eric Hansel</dc:creator>
				<category><![CDATA[Thematic Child Theme]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Wordpress Theme]]></category>

		<guid isPermaLink="false">http://www.ejhansel.com/?p=867</guid>
		<description><![CDATA[<img width="720" height="322" src="http://www.ejhansel.com/wp-content/uploads/2012/01/Screen-shot-2012-01-23-at-10.39.50-PM-720x322.jpg" class="attachment-ejh_featured_post wp-post-image" alt="HTML5 Responsive Site Redesign" title="HTML5 Responsive Site Redesign" />I’ve update my site with a new HTML 5 responsive design. I’m using the Thematic framework as a foundation and my Thematic320 responsive theme was used as a starting point for this design. There are still a couple quirks to work out with the menu at smaller sizes and some of my images didn&#8217;t regenerate [...]]]></description>
			<content:encoded><![CDATA[<img width="720" height="322" src="http://www.ejhansel.com/wp-content/uploads/2012/01/Screen-shot-2012-01-23-at-10.39.50-PM-720x322.jpg" class="attachment-ejh_featured_post wp-post-image" alt="HTML5 Responsive Site Redesign" title="HTML5 Responsive Site Redesign" /><p>I’ve update my site with a new HTML 5 responsive design. I’m using the <a href="http://themeshaper.com/thematic/" target="_blank">Thematic framework</a> as a foundation and my <a href="http://www.ejhansel.com/thematic-320-and-up-update-a-responsive-wordpress-child-theme/" target="_blank">Thematic320 responsive theme</a> was used as a starting point for this design. There are still a couple quirks to work out with the menu at smaller sizes and some of my images didn&#8217;t regenerate correctly but all in all I think it’s a good example of what can be done with my Thematic320 theme. This is still some what of a work in progress so let me know if you find any bugs or strange issues in the comments below.</p>
<p>I’ll also be working a paid version of the Thematic320 theme that will include a more modern style, thumbnail support, sliders, shortcodes and a custom options page. So stay tuned.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/ZbmwXjfsf4g9YYpcKtkSx596tsU/0/da"><img src="http://feedads.g.doubleclick.net/~a/ZbmwXjfsf4g9YYpcKtkSx596tsU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ZbmwXjfsf4g9YYpcKtkSx596tsU/1/da"><img src="http://feedads.g.doubleclick.net/~a/ZbmwXjfsf4g9YYpcKtkSx596tsU/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ejhansel/~4/lhNUBOSRHNA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ejhansel.com/html5-responsive-site-redesign/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ejhansel.com/html5-responsive-site-redesign/</feedburner:origLink></item>
		<item>
		<title>CSS 3 Animation Experiment</title>
		<link>http://feedproxy.google.com/~r/ejhansel/~3/CrfG8dd7q3w/</link>
		<comments>http://www.ejhansel.com/css-3-animation-experiment/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 04:05:07 +0000</pubDate>
		<dc:creator>Eric Hansel</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.ejhansel.com/?p=809</guid>
		<description><![CDATA[<img width="650" height="322" src="http://www.ejhansel.com/wp-content/uploads/2011/12/thumb-650x322.jpg" class="attachment-ejh_featured_post wp-post-image" alt="thumb" title="thumb" />I’ve been playing around with CSS 3 animations lately and here’s something simple that I came up with. http://www.ejhansel.com/cssAnimation/ I wouldn’t recommend putting something like this live on any site(ahh, maybe a one page poster style site), but it’s nice to take a look at and get an understanding for how it’s done. CSS 3 [...]]]></description>
			<content:encoded><![CDATA[<img width="650" height="322" src="http://www.ejhansel.com/wp-content/uploads/2011/12/thumb-650x322.jpg" class="attachment-ejh_featured_post wp-post-image" alt="thumb" title="thumb" /><p>I’ve been playing around with CSS 3 animations lately and here’s something simple that I came up with. <a href="http://www.ejhansel.com/cssAnimation/" target="_blank">http://www.ejhansel.com/cssAnimation/</a></p>
<p>I wouldn’t recommend putting something like this live on any site(ahh, maybe a one page poster style site), but it’s nice to take a look at and get an understanding for how it’s done. </p>
<p>CSS 3 animations are pretty simple to set up and it’s great that they work without JavaScript. There are a lot of instances that I think using CSS Animations make a lot more sense than using JavaScript, but this example could be reproduce with much less code if I were already loading in jQuery.</p>
<p>As of writing this post CSS 3 Animations only work in the newest versions of Firefox, Chrome and Safari, I haven’t tested I.E. 9. Firefox and Safari seem much smother than Chrome which seems strange to me. I’ve also added a CSS 3 mask to the whole thing which is only visible in Safari and Chrome.</p>
<p><strong>Firefox seems to have problems with animating span tags so if you look at the code you&#8217;ll notice I&#8217;ve used div tags around the letters in the H1 tag. I&#8217;d never recommend doing this, but this is just an experiment.</strong></p>
<p>If you’d like to play around with this CSS 3 Experiment you can download the files <a href="http://www.ejhansel.com/cssAnimation/Archive.zip" target="_blank">here</a>.</p>
<p>View the experiment <a href="http://www.ejhansel.com/cssAnimation/" target="_blank">here</a>.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/3X0hBoW02kIUl2tYgnfZ51Io3DY/0/da"><img src="http://feedads.g.doubleclick.net/~a/3X0hBoW02kIUl2tYgnfZ51Io3DY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/3X0hBoW02kIUl2tYgnfZ51Io3DY/1/da"><img src="http://feedads.g.doubleclick.net/~a/3X0hBoW02kIUl2tYgnfZ51Io3DY/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ejhansel/~4/CrfG8dd7q3w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ejhansel.com/css-3-animation-experiment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ejhansel.com/css-3-animation-experiment/</feedburner:origLink></item>
		<item>
		<title>CSS Selectors You Should Be Using NOW!</title>
		<link>http://feedproxy.google.com/~r/ejhansel/~3/TFMrLjEsOUM/</link>
		<comments>http://www.ejhansel.com/css-selectors-you-should-be-using-now/#comments</comments>
		<pubDate>Fri, 08 Jul 2011 23:43:17 +0000</pubDate>
		<dc:creator>Eric Hansel</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.ejhansel.com/?p=782</guid>
		<description><![CDATA[Here&#8217;s a list of CSS selectors that you should be aware of and using in your web design projects. This isn&#8217;t all of the CSS selectors, it a list of the selectors that I think are most useful and are supported by the majority of browsers including I.E. 7 and up. With I.E. 6 losing [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a list of CSS selectors that you should be aware of and using in your web design projects. This isn&#8217;t all of the CSS selectors, it a list of the selectors that I think are most useful and are supported by the majority of browsers including I.E. 7 and up.</p>
<p>With I.E. 6 losing browser share day after day, I believe it&#8217;s far past time to start using these CSS selector in your projects. By using them you will save time and produce lighter weight html pages.</p>
<h2>ID</h2>
<p>#value { style }</p>
<p>The following will style the text red in a div with an ID of idtest.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#idtest</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #993333;">red</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;div id=&quot;idtest&quot;&gt;Test for ID.&lt;/div&gt;</pre></div></div>

<h2>Class</h2>
<p>.value { style }</p>
<p>The following will style the text black in all divs with a class of classtest.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.classtest</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">black</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;div class=&quot;classtest&quot;&gt;Test for ID&lt;/div&gt;</pre></div></div>

<h2>Type</h2>
<p>value { style }</p>
<p>The following will give all H1 tags a black background. You use this selector to style lists, forms, headers and more.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">h1 <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">black</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;h1&gt;Title Test&lt;/h1&gt;</pre></div></div>

<h2>Universal</h2>
<p>* { css }</p>
<p>The following will give every element on the page a white background.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #00AA00;">*</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">white</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>This can also be used to style every element within a parent element.</p>
<p>The following will give every element within a DIV with an id of main a 20px margin.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">div<span style="color: #cc00cc;">#main</span> <span style="color: #00AA00;">*</span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">20px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<h2>Descendent</h2>
<p>X Y { style }</p>
<p>The following add a red background to every paragraph in a div with an id of test. Other element within the div will not be effected.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">div<span style="color: #cc00cc;">#test</span> p <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">red</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;div id=&quot;test&quot;&gt;
	&lt;p&gt;Descendent Test&lt;/p&gt;
	&lt;ul&gt;
		&lt;li&gt;List item 1&lt;/li&gt;
		&lt;li&gt;List item 2&lt;/li&gt;
	&lt;/ul&gt;
&lt;/div&gt;</pre></div></div>

<h2>Adjacent Siblings</h2>
<p>X + Y { style }</p>
<p>The following will style the first paragraph after the h1 tag, the second paragraph will not be effected.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">h1 <span style="color: #00AA00;">+</span> p <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">text-indent</span><span style="color: #00AA00;">:</span><span style="color: #933;">5px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #993333;">red</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;h1&gt;Hello Adjacent Siblings&lt;/h1&gt;
&lt;p&gt;Hello Adjacent Siblings&lt;/p&gt;
&lt;p&gt;Hello Adjacent Siblings&lt;/p&gt;</pre></div></div>

<h2>Child</h2>
<p>X > Y { style }</p>
<p>The following adds a black background to the paragraphs that are immediate children of the body. Paragraph two will not be effected</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">body <span style="color: #00AA00;">&gt;</span> p <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">black</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;body&gt;  
	&lt;p&gt;Paragraph one&lt;/p&gt;
	&lt;div&gt;&lt;p&gt;Paragraph two&lt;/p&gt;&lt;/div&gt;
	&lt;p&gt;Paragraph three&lt;/p&gt;
&lt;/body&gt;</pre></div></div>

<h2>General Sibling</h2>
<p>X ~ Y { style }</p>
<p>The following will add a black background to each sibling paragraph that follows a H1.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">H1 ~ P <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">underline</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">red</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;p&gt;Paragraph text not styled.&lt;/p&gt;
&lt;h1&gt;Header One&lt;/h1&gt;
&lt;h2&gt;Header Two&lt;/h2&gt;
&lt;p&gt;Paragraph text styled.&lt;/p&gt;
&lt;div&gt;&lt;p&gt;Paragraph text not styled.&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;Paragraph text styled.&lt;/p&gt;</pre></div></div>

<h2>First-Child</h2>
<p>:first-child { style }</p>
<p>The following will add a black background to the first list in an un-ordered list</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">li<span style="color: #3333ff;">:first-child</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">black</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;ul&gt;
	&lt;li&gt;Styled list item.&lt;/li&gt;
	&lt;li&gt;Unstyled list item.&lt;/li&gt;
&lt;/ul&gt;</pre></div></div>

<h2>First Letter</h2>
<p>:first-letter { style }</p>
<p>The following will add a black background to the first letter in a paragraph.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">p<span style="color: #3333ff;">:first-letter</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">black</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;p&gt;First letter test.&lt;/p&gt;</pre></div></div>

<h2>First Line</h2>
<p>:first-line { style }</p>
<p>The following will add a black background to the first line in paragraph. The line after the break will not be styled.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">p<span style="color: #3333ff;">:first-line</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">black</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;p&gt;First line styled.&lt;br /&gt;This line not styled.&lt;/p&gt;</pre></div></div>

<h2>Existense</h2>
<p>[att] { style }</p>
<p>The following will give every element with a &#8220;role&#8221; attribute a black background.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #00AA00;">&#91;</span>role<span style="color: #00AA00;">&#93;</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">black</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;div class=&quot;test&quot; role=&quot;&quot;&gt;Test for Existence.&lt;/div&gt;</pre></div></div>

<h2>Equality</h2>
<p>[att=value] { style }</p>
<p>The following will give every element with a &#8220;role&#8221; attribute that has a value of &#8220;imequal&#8221; a red background.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #00AA00;">&#91;</span>role<span style="color: #00AA00;">=</span>imequal<span style="color: #00AA00;">&#93;</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">red</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;div role=&quot;imequal&quot;&gt;Test for Equality.&lt;/div&gt;</pre></div></div>

<p><strong>The following CSS Selectors are not supported by I.E. 6-8.</strong></p>
<h2>Nth Child</h2>
<p>No I.E. 6-8 support<br />:nth-child(n) { style }</p>
<p>The following will add a black background to the third list item in an un-ordered list, starting from the beginning of the list.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">li<span style="color: #3333ff;">:nth-</span>child<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">3</span><span style="color: #00AA00;">&#41;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;ul&gt;
	&lt;li&gt;Unstyled list item&lt;/li&gt;
	&lt;li&gt;Unstyled list item&lt;/li&gt;
	&lt;li&gt;Styled list item&lt;/li&gt;
&lt;/ul&gt;</pre></div></div>

<h2>Nth Last Child</h2>
<p>No I.E. 6-8 support <br />:nth-last-child(n) { style }</p>
<p>The following will add a black background to the second to last list item in an un-ordered list, starting from the end of the list.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">li<span style="color: #3333ff;">:nth-last-</span>child<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">2</span><span style="color: #00AA00;">&#41;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;ul&gt;
	&lt;li&gt;Unstyled list item&lt;/li&gt;
	&lt;li&gt;Unstyled list item&lt;/li&gt;
	&lt;li&gt;Styled list item&lt;/li&gt;
	&lt;li&gt;Unstyled list item&lt;/li&gt;
&lt;/ul&gt;</pre></div></div>

<h2>Last Child</h2>
<p>No I.E. 6-8 support <br />:last-child { style }</p>
<h2>Before</h2>
<p>No I.E. 6-8 support <br />:before { style }</p>
<p>The following will add the word &#8220;Hello&#8221; to the beginning all h1 tags.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">H1<span style="color: #3333ff;">:before </span><span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">&quot;Hello &quot;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<h2>After</h2>
<p>No I.E. 6-8 support <br />:after { style }</p>
<p>The following will add the word &#8220;Goodbye&#8221; to the end all h1 tags.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">H1<span style="color: #3333ff;">:after </span><span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">&quot; Goodbye&quot;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>


<p><a href="http://feedads.g.doubleclick.net/~a/TudUPdGnr8fPoke38OJX8jJYYos/0/da"><img src="http://feedads.g.doubleclick.net/~a/TudUPdGnr8fPoke38OJX8jJYYos/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/TudUPdGnr8fPoke38OJX8jJYYos/1/da"><img src="http://feedads.g.doubleclick.net/~a/TudUPdGnr8fPoke38OJX8jJYYos/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ejhansel/~4/TFMrLjEsOUM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ejhansel.com/css-selectors-you-should-be-using-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ejhansel.com/css-selectors-you-should-be-using-now/</feedburner:origLink></item>
		<item>
		<title>Contact Form 7 WordPress Plugin with CAPTCHA</title>
		<link>http://feedproxy.google.com/~r/ejhansel/~3/LK1FC9OHh14/</link>
		<comments>http://www.ejhansel.com/contact-form-7-wordpress-plugin-with-captcha/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 04:01:08 +0000</pubDate>
		<dc:creator>Eric Hansel</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.ejhansel.com/?p=760</guid>
		<description><![CDATA[<img width="580" height="322" src="http://www.ejhansel.com/wp-content/uploads/2011/06/Screen-shot-2011-06-01-at-10.41.55-PM-580x322.png" class="attachment-ejh_featured_post wp-post-image" alt="Contact Form 7 CAPTCHA" title="Contact Form 7 CAPTCHA" />I received a question on the post I wrote about styling the Contact Form 7 WordPress Plugin that asked “did you happen to come across the captcha? How do you integrate it?”. Contact Form 7 has built in support for the Really Simple CAPTCHA Plugin and it’s rather easy to integrate and style. In this [...]]]></description>
			<content:encoded><![CDATA[<img width="580" height="322" src="http://www.ejhansel.com/wp-content/uploads/2011/06/Screen-shot-2011-06-01-at-10.41.55-PM-580x322.png" class="attachment-ejh_featured_post wp-post-image" alt="Contact Form 7 CAPTCHA" title="Contact Form 7 CAPTCHA" /><p>I received a question on the post I wrote about styling the <a href="http://www.ejhansel.com/style-the-contact-form-7-wordpress-plugin/">Contact Form 7 WordPress Plugin</a> that asked “did you happen to come across the captcha? How do you integrate it?”.  Contact Form 7 has built in support for the <a href="http://wordpress.org/extend/plugins/really-simple-captcha/" target="_blank">Really Simple CAPTCHA</a> Plugin and it’s rather easy to integrate and style. </p>
<div class="normalBoxSc alertSc" style="width:100%;">
		<div class="alertContent"><span class="boxTitleSc">Contribute</span>
    	<div class="boxContent">If you use Contact Form 7 think about <a href="http://contactform7.com/donate/">contributing</a> a buck or two so it can keep growing. I don&#8217;t make any money from this link, but I use the plugin so it&#8217;s worth saying.</div></div></div>
<p>In this post I’m going to show you what’s needed to get the Really Simple CAPTCHA Plugin working and how to style it so it looks like it belongs in my previous post about <a href="http://www.ejhansel.com/style-the-contact-form-7-wordpress-plugin/">styling the Contact Form 7 Plugin</a>. </p>
<h2>The Really Simple CAPTCHA WordPress Plugin</h2>
<p>The first thing you need to do is install the <a href="http://wordpress.org/extend/plugins/really-simple-captcha/" target="_blank">Really Simple CAPTCHA</a> Plugin.  I’m assuming you’ve already installed the <a href="http://wordpress.org/extend/plugins/contact-form-7/" target="_blank">Contact Form 7 WordPress Plugin</a> and have styled it according to my earlier post. If not, install it and <a href="http://www.ejhansel.com/style-the-contact-form-7-wordpress-plugin/">read this post</a>. If you already have the Contact Form 7 installed and styled continue reading. </p>
<ol>
<li>Login to your WordPress installation.</li>
<li>Go to “Plugins” and click “Add New”.</li>
<li>Type “Really Simple CAPTCHA” into the search form and click “Search Plugins”.</li>
<li>When the page reloads find “Really Simple CAPTCHA” in the list of plugins and click on “Install Now”.</li>
<li>Click “OK” when you’re asked “Are you sure you want to install this plugin?”.</li>
<li>Once the page reloads click “Activate Plugin”.</li>
</ol>
<p>After the Really Simple CAPTCHA installs and the page reloads it’s time to add it to your contact form. </p>
<h2>Add the Really Simple CAPTCHA to a Contact Form 7 form</h2>
<ol>
<li>Under “Contact” click “edit”.</li>
<li>When the page reloads click on “Generate Tag”.</li>
<li>Once you click on “Generate Tag” a drop-down menu will appear.</li>
<li>Click on “CAPTCHA”. Here’s the confusing part. After you click “CAPTCHA” a bunch of fields and <strong>two shortcodes are generated</strong>. At the bottom of all this confusion you’ll see 2(two) brown boxes, these are your Shortcodes. <strong>At a glance they look the same, but they are not.</strong> The first shortcode starts with captcha<strong>c</strong>, and it created the CAPTCHA. The second starts with captcha<strong>r</strong> and It creates the field that you type the CAPTCHA into. <strong>You need both Shotcodes</strong>.</li>
<li>You should see something like this. [captchac captcha-758] and [captchar captcha-758]</li>
<li>Write down the number that’s generated. In this case it’s “758”, but your number may be different (I’m not sure if the number matters, just make sure it’s the same).</li>
<li>If you’ve used my post on styling the Contact Form 7 this next part should be pretty easy. Just above the < li id=”submit” > add this code: (make sure you replace “758” with the number you wrote down).

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;p class=&quot;captchac&quot;&gt;[captchac captcha-758]&lt;/p&gt;</pre></div></div>

</li>
<li>Right below the line you just added add this code (Again replace 758 with the number you wrote down):

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;li class=&quot;captchar&quot;&gt;&lt;span class=&quot;text&quot;&gt;Enter the Above Text&lt;/span&gt;&lt;span class=&quot;required&quot;&gt;(*)&lt;/span&gt;[captchar captcha-758]&lt;/li&gt;</pre></div></div>

</li>
<li>Click “Save”. You now have a CAPTCHA in your form. Go to your Contact page and check it out, but continue reading because you’re not finished. It looks good, but there’s one problem, if you click on the text area to type in the CAPTCHA the form is beneath the “Enter the Text Above” label. </li>
<li>No problem though, we can fix this pretty easily with a bit of CSS. Locate the CSS style that you used to style the Contact Form 7 plugin in your CSS file. </li>
<li>Below the Contact Form 7 style we’ll add some style for the CAPTCHA. We want to get rid of the bottom margin on the CAPTCHA so it doesn’t look so out of place with the rest of the form. Add this

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#contact</span> p.captchac<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

</li>
<li>Now we need to adjust the text indent on the CAPTCHA input form. After the CSS you just added, add this

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#contact</span> li<span style="color: #6666ff;">.captchar</span> <span style="color: #6666ff;">.wpcf7-form-control-wrap</span> input<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">text-indent</span><span style="color: #00AA00;">:</span><span style="color: #933;">130px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

</li>
<li>Double check your contact form and make sure it looks ok. If it does, your all set, if not leave a comment below and I’ll try to help you as much as I can.</li>
</ol>

<p><a href="http://feedads.g.doubleclick.net/~a/vq-XZdJZ2sUYLBf1pkMpHwSrlHc/0/da"><img src="http://feedads.g.doubleclick.net/~a/vq-XZdJZ2sUYLBf1pkMpHwSrlHc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/vq-XZdJZ2sUYLBf1pkMpHwSrlHc/1/da"><img src="http://feedads.g.doubleclick.net/~a/vq-XZdJZ2sUYLBf1pkMpHwSrlHc/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ejhansel/~4/LK1FC9OHh14" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ejhansel.com/contact-form-7-wordpress-plugin-with-captcha/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://www.ejhansel.com/contact-form-7-wordpress-plugin-with-captcha/</feedburner:origLink></item>
		<item>
		<title>Open Firebug in a new Window</title>
		<link>http://feedproxy.google.com/~r/ejhansel/~3/ZxVksdjy02s/</link>
		<comments>http://www.ejhansel.com/open-firebug-in-a-new-window/#comments</comments>
		<pubDate>Fri, 27 May 2011 03:44:04 +0000</pubDate>
		<dc:creator>Eric Hansel</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.ejhansel.com/?p=752</guid>
		<description><![CDATA[<img width="540" height="322" src="http://www.ejhansel.com/wp-content/uploads/2011/05/firebug-540x322.jpg" class="attachment-ejh_featured_post wp-post-image" alt="Firefox Firebug" title="Firefox Firebug" />I’ve been using the Firefox Firebug plug-in for at least 5 years now and I couldn’t imagine building websites without it. I’ve used the web developer tools that come with Safari, Chrome, and Opera but I keep coming back to Firebug. I’m comfortable with it and I seem to be able to edit CSS faster [...]]]></description>
			<content:encoded><![CDATA[<img width="540" height="322" src="http://www.ejhansel.com/wp-content/uploads/2011/05/firebug-540x322.jpg" class="attachment-ejh_featured_post wp-post-image" alt="Firefox Firebug" title="Firefox Firebug" /><p>I’ve been using the Firefox Firebug plug-in for at least 5 years now and I couldn’t imagine building websites without it. I’ve used the web developer tools that come with Safari, Chrome, and Opera but I keep coming back to Firebug. I’m comfortable with it and I seem to be able to edit CSS faster with Firebug. I’m not saying it’s better or faster than any of the other dev tools, I’m just saying I prefer it (Though, the latest version of Chrome’s web dev tools are so good, I may actually switch from using Firebug and start using Chrome). Firebug is probably the only reason I still use Firefox on a regular basis.</p>
<p>Recently I’ve started thinking and designing more around mobile. I’ve played around with jQuery Mobile and I’ve designed a few mobile sites with it. I’m now looking into responsive “One Web Design” and I’ve been frustrated with Firebug sitting in the bottom of my browser.  Both Chrome and Safari have a window Icon that makes it easy to pop the dev tools in and out of the widow pane. Firebug doesn’t, but it’s still possible to pop Firebug into it’s own window.</p>
<h2>How to open Firebug in its own window.</h2>
<p>This seems silly to me, like I said I’ve been using Firebug for years and I&#8217;ve never opened it in a new window until recently.  If you want to open Firebug in a new window and have it installed on Firefox , go to “Tools” > “Firebug” > “Options”  > and make sure “Always Open In New Window” is selected. </p>
<p>That’s it, you may now open Firebug in a new window and re-size your browser as small as you like. </p>

<p><a href="http://feedads.g.doubleclick.net/~a/1jwgkqDfLTxn2ftWLUD88ZZuZEg/0/da"><img src="http://feedads.g.doubleclick.net/~a/1jwgkqDfLTxn2ftWLUD88ZZuZEg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/1jwgkqDfLTxn2ftWLUD88ZZuZEg/1/da"><img src="http://feedads.g.doubleclick.net/~a/1jwgkqDfLTxn2ftWLUD88ZZuZEg/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ejhansel/~4/ZxVksdjy02s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ejhansel.com/open-firebug-in-a-new-window/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ejhansel.com/open-firebug-in-a-new-window/</feedburner:origLink></item>
		<item>
		<title>Thematic 320 and up Update A Responsive WordPress Child Theme</title>
		<link>http://feedproxy.google.com/~r/ejhansel/~3/VyuNUH4fnv8/</link>
		<comments>http://www.ejhansel.com/thematic-320-and-up-update-a-responsive-wordpress-child-theme/#comments</comments>
		<pubDate>Mon, 23 May 2011 04:38:08 +0000</pubDate>
		<dc:creator>Eric Hansel</dc:creator>
				<category><![CDATA[Thematic Child Theme]]></category>

		<guid isPermaLink="false">http://www.ejhansel.com/?p=733</guid>
		<description><![CDATA[<img width="300" height="225" src="http://www.ejhansel.com/wp-content/uploads/2011/05/screenshot1.png" class="attachment-ejh_featured_post wp-post-image" alt="Thematic 320 and up child theme" title="Thematic 320 and up child theme" />Over the weekend I’ve worked a bit to update my Thematic 320 and up child theme. It now includes most of the style that the Thematic Frame Work comes with and incorporates 4 different screen size media queries. (Check it out and resize you browser, or go to it on your phone and tablet.) Thematic [...]]]></description>
			<content:encoded><![CDATA[<img width="300" height="225" src="http://www.ejhansel.com/wp-content/uploads/2011/05/screenshot1.png" class="attachment-ejh_featured_post wp-post-image" alt="Thematic 320 and up child theme" title="Thematic 320 and up child theme" /><p>Over the weekend I’ve worked a bit to update my <em><a href="http://www.ejhansel.com/thematic320andup/">Thematic 320 and up</a></em> child theme.  It now includes most of the style that the <a href="http://wordpress.org/extend/themes/thematic">Thematic Frame Work</a> comes with and incorporates 4 different screen size media queries.  (<a href="http://www.ejhansel.com/thematic320andup/">Check it out and resize you browser, or go to it on your phone and tablet</a>.)</p>
<div class="normalBoxSc alertSc" style="width:100%;">
		<div class="alertContent"><span class="boxTitleSc">UPDATE</span>
    	<div class="boxContent">August 29, 2011. The theme is pretty much ported entirely to HTML5. I&#8217;m sure there are improvements that can be made, but I wouldn&#8217;t hesitate to use this theme in a production environment. I&#8217;m currently redesigning this site with this theme as a basis. Download it now and let me know if you have any improvements. <a href="http://www.ejhansel.com/thematic320.zip">Download the Thematic 320 and up theme here.</a></div></div></div>
<p><strong>Thematic 320 and up still needs a lot of work</strong>. Like I said before I’d like to see Thematic give us an HTML/XHTML option, but until then we can use child themes to create HTML5 pages.  I’ll continue to work on changing things over to HTML5 and updating as I go. </p>
<h2>What’s changed from my original post?</h2>
<ul>
<li>The basic look and style of Thematic has been added. I’ve combined most of Thematic’s style sheets into the main style sheet (style.css).  I did this because I don’t like overriding styles unnecessarily.</li>
<li>Almost everything has been converted to ems. Seems like I’m going backwards here, I quit designing in ems a couple years ago, but I think this is the way forward.</li>
<li>I’ve rebuilt the navigation (in functions.php) to use the nav tag. There might be a better way to do this and if you have a better way I’d love to hear it. I’m still including the “skip to content” link, but if I rebuild everything in HTML5 this will most likely go away.</li>
</ul>
<h2>What still needs work?</h2>
<ul>
<li>More of the theme needs to be converted to HTML5. I’m also still including id and class, but this will most likely change to role as I move forward, no need to add unnecessary markup. </li>
<li>I haven’t decided on the look of the navigation. I think on smaller screens the nav needs to change to a vertical look. Otherwise if you have more than 4-5 pages the nav will look a bit strange.</li>
<li>I haven’t decided what to do about the dropdown navigation. I’m not sure how to handle it on smaller screens. I’d love to hear your thoughts.</li>
<li>Line height still needs some work.</li>
<li>I haven’t tested things like the calendar in asides. </li>
<li>I haven’t tested at all in Internet Explorer. The theme is set up to easily correct problems in I.E. without adding I.E. specific style sheets.</li>
</ul>
<p><a href="http://www.ejhansel.com/thematic-320-and-up/">You can check out my original post here.</a></p>
<p><a href="http://www.ejhansel.com/thematic320andup/">Check out the Thematic 320 and up  demo here (Make sure you re-size your browser).</a></p>
<p><a href="http://www.ejhansel.com/thematic320.zip">Download the Thematic 320 and up theme here.</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/H0D3I4fYN2np6mH00BnckTcD5Yk/0/da"><img src="http://feedads.g.doubleclick.net/~a/H0D3I4fYN2np6mH00BnckTcD5Yk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/H0D3I4fYN2np6mH00BnckTcD5Yk/1/da"><img src="http://feedads.g.doubleclick.net/~a/H0D3I4fYN2np6mH00BnckTcD5Yk/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ejhansel/~4/VyuNUH4fnv8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ejhansel.com/thematic-320-and-up-update-a-responsive-wordpress-child-theme/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		<feedburner:origLink>http://www.ejhansel.com/thematic-320-and-up-update-a-responsive-wordpress-child-theme/</feedburner:origLink></item>
		<item>
		<title>Thematic 320 and up</title>
		<link>http://feedproxy.google.com/~r/ejhansel/~3/fTbiHKZISZ8/</link>
		<comments>http://www.ejhansel.com/thematic-320-and-up/#comments</comments>
		<pubDate>Fri, 20 May 2011 02:55:01 +0000</pubDate>
		<dc:creator>Eric Hansel</dc:creator>
				<category><![CDATA[Thematic Child Theme]]></category>

		<guid isPermaLink="false">http://www.ejhansel.com/?p=713</guid>
		<description><![CDATA[<img width="300" height="225" src="http://www.ejhansel.com/wp-content/uploads/2011/05/screenshot.png" class="attachment-ejh_featured_post wp-post-image" alt="Thematic 320 and up" title="Thematic 320 and up" />What is 320 and up? The 320 and up project page explains it like this “Inspired by Using Media Queries in the Real World by Peter Gasston, ‘320 and Up’ is a device agnostic, one web boilerplate.” 320 and up was developed by Andy Clarke, and is a great starting point for building websites that [...]]]></description>
			<content:encoded><![CDATA[<img width="300" height="225" src="http://www.ejhansel.com/wp-content/uploads/2011/05/screenshot.png" class="attachment-ejh_featured_post wp-post-image" alt="Thematic 320 and up" title="Thematic 320 and up" /><h2>What is 320 and up?</h2>
<p>The <a href="http://stuffandnonsense.co.uk/projects/320andup/" >320 and up</a> project page explains it like this “Inspired by <a href="http://www.broken-links.com/2011/02/21/using-media-queries-in-the-real-world/">Using Media Queries in the Real World by <a href="http://twitter.com/stopsatgreen">Peter Gasston</a></a>, ‘320 and Up’ is a device agnostic, <a href="http://adactio.com/journal/1716/">one web</a> boilerplate.” </p>
<div class="normalBoxSc alertSc" style="width:100%;">
		<div class="alertContent"><span class="boxTitleSc">UPDATE</span>
    	<div class="boxContent">I&#8217;ve updated my original design and added Thematics default style, you can read more about it in this post &#8220;<a href="http://www.ejhansel.com/thematic-320-and-up-update-a-responsive-wordpress-child-theme/">Thematic 320 and up Update A Responsive WordPress Child Theme</a>&#8221;<br />
</div></div></div>
<p>320 and up was developed by <a href="http://twitter.com/malarkey">Andy Clarke</a>, and is a great starting point for building websites that utilize the latest technologies in modern web browsers. It can be used as is, or as an extension of the HTML5 Boilerplate.  I don’t think I can really do it justice or explain it any better then the project page does, so head over to <a href="http://stuffandnonsense.co.uk/projects/320andup/">http://stuffandnonsense.co.uk/projects/320andup/</a> resize your browser a few times and view the page source. </p>
<h2>What is Thematic 320 and up?</h2>
<p>I’ve been using the <a href="http://wordpress.org/extend/themes/thematic" target="_blank">Thematic framework</a> for a few years and I’ve built a lot of sites, like this one, using Thematic.  The Thematic community is great and the development has been as good as you can expect for something that’s completely free and open source. Needless to say, I believe in Thematic. I also believe that the future of web design lies in something like 320 and up, a “one web boilerplate”.</p>
<p>So I’ve started working on a combination of the two and came up with Thematic 320 and up. </p>
<p><strong>Thematic 320 and up isn’t a finished project! Again, Thematic 302 and up isn’t a finished project!</strong>  As I was working on it, I hesitated a bit, and wondered if I should even release it.  Ultimately I decided awareness is better then nothing, so I’m release it.</p>
<p>320 and up uses the latest in HTML5 and Thematic doesn’t. Surely I could copy over all the files I need to convert a Thematic child theme to HTML5, and I even copied over the header file and started marking it up with HTML5.  I could easily remove the Thematic access and build an appropriate nav with HTML5, I could copy over the single.php file and add appropriate markup. But doesn’t doing all this extra work defeat the purpose of using a framework and building a child theme? I don’t know, maybe. I’m torn between the two. In one hand I love working with Thematic and I’d like to start using it with the latest HTML right away. On the other hand I’d really like to see Thematic offer a XHTML/HTML checkbox in its option page and spit out the code depending on what’s selected.  I think an option like this would really set Thematic apart from other Frameworks that I’ve seen. </p>
<h3>So why release this Child Theme?</h3>
<p>If you’re not sold on HTML5, you can still use most of what I’ve done to start building better websites. You can rework what I’ve done and keep the DOCTYPE as XHTML while still use the if IE statements, the javascript and the media quires. </p>
<h2>What the Thematic 320 and up Child Theme does</h2>
<ol>
<li>It changes the Thematic doc type to HTML</li>
<li>Adds the If classes to the Thematic  HTML tag.</li>
<li>Changes the Thematic  meta charset.</li>
<li>Loads the multiple linked style sheets that 320 and up uses (it’s also set up to use the single style sheet option).</li>
<li>Loads all JavaScript files used in the 320 and up boilerplate with one difference, I’m relying on Thematic to load jQuery, so It loads in the header.</li>
<li>Changes the div id=”Header” to a HTML5 header tag.</li>
</ol>
<h2>What the Thematic 320 and up Child Theme doesn’t do</h2>
<ol>
<li>It doesn’t change the entire markup to HTML5, doesn’t add in micro-formats, and doesn’t add WAI-ARIA accessibility. I really think it would be great if Thematic would offer this as an option.</li>
<li>Currently it doesn’t include any style in the different media queries .css files. I’ll work on this and update as I go. I’m planning on using this as a starting point to redesign my site once again.</li>
</ol>
<p>GPL Licensed.<br />
Released under the GNU General Public License, version 2.0 just like WordPress.</p>
<p><a href="http://www.ejhansel.com/thematic320andup/">Check out the starting point for this Child Theme here</a>. Make sure you view source.</p>
<p> <a href="http://www.ejhansel.com/thematic320.zip">You can download a copy of it here</a>. </p>

<p><a href="http://feedads.g.doubleclick.net/~a/4rMvuCWIdWSVJYALQjhwc0zzHy8/0/da"><img src="http://feedads.g.doubleclick.net/~a/4rMvuCWIdWSVJYALQjhwc0zzHy8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/4rMvuCWIdWSVJYALQjhwc0zzHy8/1/da"><img src="http://feedads.g.doubleclick.net/~a/4rMvuCWIdWSVJYALQjhwc0zzHy8/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ejhansel/~4/fTbiHKZISZ8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ejhansel.com/thematic-320-and-up/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://www.ejhansel.com/thematic-320-and-up/</feedburner:origLink></item>
		<item>
		<title>Style the Contact Form 7 WordPress Plugin</title>
		<link>http://feedproxy.google.com/~r/ejhansel/~3/NYF6soLJ1Q4/</link>
		<comments>http://www.ejhansel.com/style-the-contact-form-7-wordpress-plugin/#comments</comments>
		<pubDate>Fri, 06 May 2011 04:10:51 +0000</pubDate>
		<dc:creator>Eric Hansel</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.ejhansel.com/?p=673</guid>
		<description><![CDATA[How to style the Contact Form 7 Wordpress Plugin. A tutorial that styles the Contact Form 7 plugin in a unique and simplistic way. ]]></description>
			<content:encoded><![CDATA[<img width="562" height="322" src="http://www.ejhansel.com/wp-content/uploads/2011/05/Screen-shot-2011-05-05-at-11.04.18-PM-562x322.png" class="attachment-ejh_featured_post wp-post-image" alt="Contact Form 7 Style" title="Contact Form 7 Style" /><p><div class="normalBoxSc alertSc" style="width:100%;">
		<div class="alertContent"><span class="boxTitleSc">Contribute</span>
    	<div class="boxContent">If you use Contact Form 7 think about <a href="http://contactform7.com/donate/">contributing</a> a buck or two so it can keep growing. I don&#8217;t make any money from this link, but I use the plugin so it&#8217;s worth saying.</div></div></div><br />
<div class="normalBoxSc alertSc" style="width:100%;">
		<div class="alertContent"><span class="boxTitleSc">Want to use CAPTCHA?</span>
    	<div class="boxContent"><a href="http://www.ejhansel.com/contact-form-7-wordpress-plugin-with-captcha/">Contact Form 7 WordPress Plugin with CAPTCHA</a></div></div></div></p>
<p>I’ve been working on a new freelance site with a fairly simple 4 color design. This site, like all sites that I design needs a contact form.  I’ve been using the WordPress Plugin Contact Form 7 for a while now; It works well and accomplishes most of my needs.  The site I’m working on has a simple clean design, the focus is on the content and not the design, so I wanted to create a contact form that complimented this simple design. </p>
<p>I love the new default theme (Duster) that the next version of WordPress might ship with. In particular I really like the expandable search and the comments form. The Duster comments form is where my inspiration for this contact form came from. </p>
<h2>Installing Contact Form 7</h2>
<p>Installing WordPress plugins couldn’t be easier.  Always make sure you have a recent backup of your database before you install or update anything on your site.  After you backup you site, here’s how to install Contact Form 7.</p>
<ol>
<li>Log-in to Your WordPress website.</li>
<li>Under “Plugins” click on “Add New”.</li>
<li>Under ”Search” enter “Contact Form 7” .</li>
<li>After the page reloads Click on “Install Now” under Contact Form 7.</li>
<li>Click “OK” when you get the “Are You Sure” alert.</li>
<li>After the plugin downloads click “Activate Plugin”.</li>
<li>You’ll now have a “Contact” tab in the menu on the left side of the screen.</li>
<li>Expand the “Contact” tab down if it isn’t already and click on “Edit”.</li>
<li>We need to edit what’s in the “form” text area so we can add some nice clean style to it.</li>
<li>Replace  the code in the “form” textbox with the following code.
<div style="margin-left:-27px;">

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;ul id=&quot;contact&quot;&gt;
&lt;li&gt;&lt;span class=&quot;text&quot;&gt;Your Name&lt;/span&gt;&lt;span class=&quot;required&quot;&gt;(*)&lt;/span&gt; [text* your-name]&lt;/li&gt;
&nbsp;
&lt;li&gt;&lt;span class=&quot;text&quot;&gt;Your Email&lt;/span&gt;&lt;span class=&quot;required&quot;&gt;(*)&lt;/span&gt;[email* your-email] &lt;/li&gt;
&nbsp;
&lt;li&gt;&lt;span class=&quot;text&quot;&gt;Subject&lt;/span&gt;[text your-subject] &lt;/li&gt;
&nbsp;
&lt;li id=&quot;message&quot;&gt;&lt;span class=&quot;text&quot;&gt;Your Message&lt;/span&gt;[textarea your-message] &lt;/li&gt;
&nbsp;
&lt;li id=&quot;submit&quot;&gt;[submit &quot;Send&quot;]&lt;/li&gt;
&lt;/ul&gt;</pre></div></div>

</div>
</li>
<li>Click “Save”!!!!</li>
</ol>
<h2>Style the Contact Form 7 Plugin</h2>
<p>After you add the appropriate markup to the Contact Form 7 “form” textarea, the rest is a breeze.  Here’s the code to get it looking good. </p>
<p>There are a few things you need to keep in mind. </p>
<ol>
<li>You may need to adjust the width of the input and textarea.</li>
<li>Make sure you change the border color of the input, textarea, and .text to match your site.</li>
<li>Change the focus state to match your site.</li>
<li>Change the gradient of the submit input to match your site.</li>
<li>I’d like to change the z-index of the input and textareas to act more like the Duster theme, but the Contact Form 7 plugin adds an unnecessary span around them that doesn’t allow this to happen without javascript. I didn’t see the use of javascript as a necessary step and like it this way just the same.</li>
</ol>
<h3>The CSS</h3>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#contact</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#contact</span> li<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">60px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">540px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#contact</span> li .<span style="color: #993333;">text</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#F0EFEF</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">15px</span> <span style="color: #933;">10px</span> <span style="color: #933;">10px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">100</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">min-width</span><span style="color: #00AA00;">:</span><span style="color: #933;">85px</span><span style="color: #00AA00;">;</span>
	border-bottom-right-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	-moz-border-radius-bottomright<span style="color: #00AA00;">:</span><span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	-webkit-border-bottom-right-radius<span style="color: #00AA00;">:</span><span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	border-top-left-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	-moz-border-radius-topleft<span style="color: #00AA00;">:</span><span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	-webkit-border-top-left-radius<span style="color: #00AA00;">:</span><span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-indent</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#contact</span> li .required<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">100</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#contact</span> li .wpcf7-form-control-wrap<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#contact</span> li <span style="color: #6666ff;">.wpcf7-form-control-wrap</span> input<span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#contact</span> li <span style="color: #6666ff;">.wpcf7-form-control-wrap</span> textarea<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span> <span style="color: #933;">5px</span> <span style="color: #cc00cc;">#F0EFEF</span><span style="color: #00AA00;">;</span>
	border-radius<span style="color: #00AA00;">:</span><span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	-moz-border-radius<span style="color: #00AA00;">:</span><span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	-webkit-border-radius<span style="color: #00AA00;">:</span><span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">15px</span> <span style="color: #933;">10px</span> <span style="color: #933;">25px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">509px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-indent</span><span style="color: #00AA00;">:</span><span style="color: #933;">95px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">100</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#contact</span> li <span style="color: #6666ff;">.wpcf7-form-control-wrap</span> input<span style="color: #3333ff;">:focus</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#contact</span> li <span style="color: #6666ff;">.wpcf7-form-control-wrap</span> textarea<span style="color: #3333ff;">:focus</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#F0EFEF</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#contact</span> li <span style="color: #6666ff;">.wpcf7-form-control-wrap</span> textarea<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">28px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">200px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#contact</span> li<span style="color: #cc00cc;">#message</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">min-height</span><span style="color: #00AA00;">:</span><span style="color: #933;">220px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#contact</span> li<span style="color: #cc00cc;">#submit</span> input<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span> <span style="color: #933;">30px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#09b2f3</span><span style="color: #00AA00;">;</span>
	filter<span style="color: #00AA00;">:</span> progid<span style="color: #3333ff;">:DXImageTransform</span><span style="color: #6666ff;">.Microsoft</span>.gradient<span style="color: #00AA00;">&#40;</span>startColorstr<span style="color: #00AA00;">=</span><span style="color: #ff0000;">'#69d2f9'</span><span style="color: #00AA00;">,</span> endColorstr<span style="color: #00AA00;">=</span><span style="color: #ff0000;">'#09b2f3'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> -webkit-gradient<span style="color: #00AA00;">&#40;</span>linear<span style="color: #00AA00;">,</span> <span style="color: #933;">0%</span> <span style="color: #933;">0%</span><span style="color: #00AA00;">,</span> <span style="color: #933;">0%</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">,</span> from<span style="color: #00AA00;">&#40;</span><span style="color: #cc00cc;">#69d2f9</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">,</span> to<span style="color: #00AA00;">&#40;</span><span style="color: #cc00cc;">#09b2f3</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> -moz-linear-gradient<span style="color: #00AA00;">&#40;</span><span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#69d2f9</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#09b2f3</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	-moz-border-radius<span style="color: #00AA00;">:</span><span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>
	-webkit-border-radius<span style="color: #00AA00;">:</span><span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>
	-<span style="color: #cc66cc;">0</span>-border-radius<span style="color: #00AA00;">:</span><span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>
	border-radius<span style="color: #00AA00;">:</span><span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span> <span style="color: #933;">25px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span><span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-shadow</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">1px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc00cc;">#09b2f3</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-transform</span><span style="color: #00AA00;">:</span><span style="color: #993333;">uppercase</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#contact</span> li<span style="color: #cc00cc;">#submit</span> input<span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#69d2f9</span><span style="color: #00AA00;">;</span>
	filter<span style="color: #00AA00;">:</span> progid<span style="color: #3333ff;">:DXImageTransform</span><span style="color: #6666ff;">.Microsoft</span>.gradient<span style="color: #00AA00;">&#40;</span>startColorstr<span style="color: #00AA00;">=</span><span style="color: #ff0000;">'#09b2f3'</span><span style="color: #00AA00;">,</span> endColorstr<span style="color: #00AA00;">=</span><span style="color: #ff0000;">'#69d2f9'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> -webkit-gradient<span style="color: #00AA00;">&#40;</span>linear<span style="color: #00AA00;">,</span> <span style="color: #933;">0%</span> <span style="color: #933;">0%</span><span style="color: #00AA00;">,</span> <span style="color: #933;">0%</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">,</span> from<span style="color: #00AA00;">&#40;</span><span style="color: #cc00cc;">#09b2f3</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">,</span> to<span style="color: #00AA00;">&#40;</span><span style="color: #cc00cc;">#69d2f9</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> -moz-linear-gradient<span style="color: #00AA00;">&#40;</span><span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#09b2f3</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#69d2f9</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	-moz-box-shadow<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">1px</span> <span style="color: #933;">2px</span> rgba<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span>.5<span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">inset</span><span style="color: #00AA00;">;</span>
	-webkit-box-shadow<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">1px</span> <span style="color: #933;">2px</span> rgba<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span>.5<span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">inset</span><span style="color: #00AA00;">;</span>
	-o-box-shadow<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">1px</span> <span style="color: #933;">2px</span> rgba<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span>.5<span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">inset</span><span style="color: #00AA00;">;</span>
	box-shadow<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">1px</span> <span style="color: #933;">2px</span> rgba<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span>.5<span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">inset</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#06506c</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-shadow</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">1px</span> <span style="color: #cc66cc;">0</span> rgba<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">255</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">255</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">255</span><span style="color: #00AA00;">,</span>.25<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-transform</span><span style="color: #00AA00;">:</span><span style="color: #993333;">uppercase</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span><span style="color: #993333;">pointer</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
div<span style="color: #6666ff;">.wpcf7-validation-errors</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<h3>The Outcome</h3>
<p><img src="http://www.ejhansel.com/wp-content/uploads/2011/05/Screen-shot-2011-05-05-at-10.59.35-PM-450x446.png" alt="Contact Form 7 Styled" title="Contact Form 7 Styled" width="450" height="446" class="alignnone size-medium wp-image-694" /></p>
<h3>Update</h3>
<p>To get this working in I.E.7 you need to add this in your I.E. 7 specific style sheet.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#contact</span> li <span style="color: #6666ff;">.wpcf7-form-control-wrap</span> input<span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#contact</span> li <span style="color: #6666ff;">.wpcf7-form-control-wrap</span> textarea <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>


<p><a href="http://feedads.g.doubleclick.net/~a/r2VJkIuBDPe7OUVtDnBUXgKCyEw/0/da"><img src="http://feedads.g.doubleclick.net/~a/r2VJkIuBDPe7OUVtDnBUXgKCyEw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/r2VJkIuBDPe7OUVtDnBUXgKCyEw/1/da"><img src="http://feedads.g.doubleclick.net/~a/r2VJkIuBDPe7OUVtDnBUXgKCyEw/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ejhansel/~4/NYF6soLJ1Q4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ejhansel.com/style-the-contact-form-7-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>62</slash:comments>
		<feedburner:origLink>http://www.ejhansel.com/style-the-contact-form-7-wordpress-plugin/</feedburner:origLink></item>
		<item>
		<title>WordPress Thematic Child Theme Folder Structure the Right Way Part 1</title>
		<link>http://feedproxy.google.com/~r/ejhansel/~3/mRWiOxIMgTs/</link>
		<comments>http://www.ejhansel.com/wordpress-thematic-child-theme-folder-structure-the-right-way-part-1/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 03:59:54 +0000</pubDate>
		<dc:creator>Eric Hansel</dc:creator>
				<category><![CDATA[Thematic Child Theme]]></category>

		<guid isPermaLink="false">http://www.ejhansel.com/?p=617</guid>
		<description><![CDATA[So you’ve decided to use Thematic as your WordPress parent theme and your ready to set up a kick ass child theme. Here’s how I do it! I’m not going to claim this is the best way, or even the right way to set up a Thematic child theme. I’m not sure there’s a “best [...]]]></description>
			<content:encoded><![CDATA[<div class="normalBoxSc alertSc" style="width:100%;">
		<div class="alertContent"><span class="boxTitleSc">NOTE:</span>
    	<div class="boxContent">I’m using Thematic as an example for this post, but most of what I’m going to cover can be carried over to any theme framework.</div></div></div>
<div class="normalBoxSc alertSc" style="width:100%;">
		<div class="alertContent"><span class="boxTitleSc">Second post in a series about Working with Thematic Child Themes</span>
    	<div class="boxContent"><a href="http://www.ejhansel.com/setup-a-thematic-child-theme/">Setup a WordPress Thematic Child Theme</a><br />
<a href="http://www.ejhansel.com/wordpress-thematic-child-theme-folder-structure-the-right-way-part-1">WordPress Thematic Child Theme Folder Structure the Right Way Part 1</a><br />
</div></div></div>
<p>So you’ve decided to use <a href="http://wordpress.org/extend/themes/thematic">Thematic</a> as your WordPress parent theme and your ready to set up a kick ass child theme.</p>
<p>Here’s how I do it! I’m not going to claim this is the best way, or even the right way to set up a Thematic child theme. I’m not sure there’s a “best way” or “right way” to set up a Thematic child theme, but I’ve built quite a few, and this is the folder structure that I find easiest to use. </p>
<h2>The Thematic Child Theme Basics</h2>
<p>I’m assuming you’ve already downloaded the <a href="http://wordpress.org/extend/themes/thematic">Thematic Theme</a> from the WordPress directory and created a child theme. </p>
</p>
<p>If you need help setting up a Thematic child theme please visit my previous post on the subject.  <a href="http://www.ejhansel.com/setup-a-thematic-child-theme/">Setup a WordPress Thematic Child Theme</a></p>
<div class="normalBoxSc alertSc" style="width:500%;">
		<div class="alertContent"><span class="boxTitleSc">NOTE:</span>
    	<div class="boxContent"> Like working with the latest and greatest, downloaded the latest SVN copy of Thematic, open up the terminal and copy this into it. svn checkout http://thematic.googlecode.com/svn/trunk/ thematic-read-only</div></div></div>
<p>After setting up your Thematic child theme the folder structure should look something like this.</p>
<ul>
<li>MyKickingCoolSite
<ul>
<li>functions.php</li>
<li>readme.txt</li>
<li>style.css</li>
</ul>
</li>
</ul>
<p><img src="http://www.ejhansel.com/wp-content/uploads/2011/04/Screen-shot-2011-04-20-at-10.10.13-PM.png" alt="Child Theme Structure" title="Child Theme Structure" width="472" height="96" class="alignnone size-full wp-image-631" /></p>
<h2>The Style Sheet style.css </h2>
<p>Your edited child theme style.css style sheet looks something like this.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/*    
Theme Name: My Kicking Cool Site Theme URI: http://www.mykickingcoolsite.com 
Description: My kicking cool site that I love to spend lots of time with. 
Author: My Nmae Author URI: http://www.mysite.com 
Template: thematic
Tags: Two Column, Right Sidebar, Right Aside, Custom Header . 
Thematic is © Ian Stewart http://themeshaper.com/ 
My Kicking Cool Site @ My Name http://www.mysite.com . 
*/</span>  
<span style="color: #808080; font-style: italic;">/* Reset browser defaults */</span> 
<span style="color: #a1a100;">@import url('../thematic/library/styles/reset.css');  </span>
<span style="color: #808080; font-style: italic;">/* Apply basic typography styles */</span> 
<span style="color: #a1a100;">@import url('../thematic/library/styles/typography.css');  </span>
<span style="color: #808080; font-style: italic;">/* Apply a basic layout */</span> 
<span style="color: #a1a100;">@import url('../thematic/library/layouts/2c-r-fixed.css');  </span>
<span style="color: #808080; font-style: italic;">/* Apply basic image styles */</span> 
<span style="color: #a1a100;">@import url('../thematic/library/styles/images.css');  </span>
<span style="color: #808080; font-style: italic;">/* Apply default theme styles and colors */</span> 
<span style="color: #a1a100;">@import url('../thematic/library/styles/default.css');  </span>
<span style="color: #808080; font-style: italic;">/* Prepare theme for plugins */</span> 
<span style="color: #a1a100;">@import url('../thematic/library/styles/plugins.css');</span></pre></div></div>

<p>As you can see most of the styles are still being imported from the Thematic parent theme.(../thematic/ points back to the Thematic parent theme). This is great if you don’t need to do much editing to get your custom theme up and running.  <strong>If that’s the case great, start adding your custom style below the last @import url. </strong></p>
<p>If you’d like to learn how I create a completely customized child theme that I can easily pull components from to create other completely unique child themes keep reading. </p>
<h2>Major edits to a Thematic child theme.</h2>
<p>When I’m making a lot of edits to a child theme I don’t like overriding styles. For one, overriding styles can be a lot more confusing when editing your CSS files and if done wrong, it will add extra HTTP requests and slow your site down.  Also you can combine a few of the Thematic style sheets (or all of them) to make your site even faster.  Thematic uses @import to include style sheets, I’m not going to go into the pro’s and con’s about @import, but I will say this, “less is more, always when it comes to the speed of a website”. </p>
<div class="normalBoxSc alertSc" style="width:500%;">
		<div class="alertContent"><span class="boxTitleSc">NOTE:</span>
    	<div class="boxContent">This tutorial isn’t about combining style sheets. I want to keep the focus on folder structure. </div></div></div>
<p>Much to the opposite of what I like to do with my CSS files, I like to break my functions up rather then including everything in functions.php. If you wanted to, you could put everything in your functions.php file, but by breaking your functions up into separate files you can easily include only the files you need in the projects you’re currently working on.  For example If I’ve built custom images and thumbnails into a theme and I also want to include them in another theme, I can easily copy the file over to the new theme and simply import them into my functions.php file.  Sure I could find that function in my functions.php file and copy it from there, but it can easily become a problem if I have a few thousand lines of code in my functions.php file.(If you&#8217;re lost here, bare with me, I&#8217;ll explain in further detail later in the tutorial) </p>
<h2>New Child Theme Folder structure.</h2>
</p>
<p>Personally I like to stick with the same folder structure that Thematic uses. So In your child theme create a folder called “library”.</p>
<p>Your folder structure should now look like this.</p>
<ul>
<li>MyKickingCoolSite
<ul>
<li>functions.php</li>
<li>library</li>
<li>readme.txt</li>
<li>style.css</li>
</ul>
</li>
</ul>
<p><img src="http://www.ejhansel.com/wp-content/uploads/2011/04/Screen-shot-2011-04-20-at-10.36.17-PM.png" alt="Thematic Child Theme Folder Structure" title="Thematic Child Theme Folder Structure" width="577" height="117" class="alignnone size-full wp-image-647" /></p>
<p>Now, inside the “Library” folder create the following folders:extensions, images, layouts, scripts, styles (extensions if you plan on adding features like thumbnils, shortcodes and extra widget areas )</p>
<p>Your folder structure should now look like this.</p>
<ul>
<li>MyKickingCoolSite
<ul>
<li>functions.php</li>
<li>library
<ul>
<li>extensions</li>
<li>images</li>
<li>layouts</li>
<li>scripts</li>
<li>styles</li>
</ul>
</li>
<li>readme.txt</li>
<li>style.css</li>
</ul>
</li>
</ul>
<p><img src="http://www.ejhansel.com/wp-content/uploads/2011/04/Screen-shot-2011-04-20-at-10.40.03-PM.png" alt="Thematic Child Theme Folder Structure" title="Thematic Child Theme Folder Structure" width="577" height="122" class="alignnone size-full wp-image-651" /></p>
<h2>Populate The Library Folders</h2>
<p>Next time in part#2 I&#8217;ll show you how to populate the Library folders and you&#8217;ll learn how to create extensions that you can easily include in all of you child themes.  </p>
<p>If you don&#8217;t want to wait until next time you can purchase my <a href="http://www.ejhansel.com/wpthemes/portphotioplus-theme-a-thematic-child-theme/">Portphotio Plus Thematic Child Theme</a> for $4.99. It has the exact folder structure, extentions, shortcodes and more that I&#8217;m writing about in these posts. </p>

<p><a href="http://feedads.g.doubleclick.net/~a/t2YWgzYEpM3576HxlhO8oOsFL74/0/da"><img src="http://feedads.g.doubleclick.net/~a/t2YWgzYEpM3576HxlhO8oOsFL74/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/t2YWgzYEpM3576HxlhO8oOsFL74/1/da"><img src="http://feedads.g.doubleclick.net/~a/t2YWgzYEpM3576HxlhO8oOsFL74/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ejhansel/~4/mRWiOxIMgTs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ejhansel.com/wordpress-thematic-child-theme-folder-structure-the-right-way-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ejhansel.com/wordpress-thematic-child-theme-folder-structure-the-right-way-part-1/</feedburner:origLink></item>
		<item>
		<title>Create a Custom Twitter Tweet Button</title>
		<link>http://feedproxy.google.com/~r/ejhansel/~3/2R61TOgg1yE/</link>
		<comments>http://www.ejhansel.com/create-a-custom-twitter-tweet-button/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 04:32:41 +0000</pubDate>
		<dc:creator>Eric Hansel</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.ejhansel.com/?p=550</guid>
		<description><![CDATA[For a project I’ve recently been working on I needed to add share buttons for various social sites. IE: Twitter, Facebook, Reddit, ect. I originally used the premade buttons that are offered by the various social sites, but by the time I was finished, it looked like a huge mess. Not only did it look [...]]]></description>
			<content:encoded><![CDATA[<p>For a project I’ve recently been working on I needed to add share buttons for various social sites. IE: Twitter, Facebook, Reddit, ect. I originally used the premade buttons that are offered by the various social sites, but by the time I was finished, it looked like a huge mess. Not only did it look like a huge mess, I was also loading in JavaScript files for each button and had useless html markup on each page.  So, I decided to go a different direction and create custom buttons for each of them. </p>
<h2>Here’s how to create a custom Twitter Tweet button with jQuery.</h2>
<h3>Example</h3>
<p class="example">
<p>I’m using jQuery for this example(and assuming you’ve already loaded jQuery into your page), but this should be pretty easy to adapt to any JavaScript library. </p>
<p>I’ll also supply code afterwards specifically for the WordPress Thematic framework.</p>
<h2>jQuery JavaScript to add the custom tweet button.</h2>
<p>I would add this into a separate file and load it right before the closing body tag, but it’s your site and you can load it wherever you’d like.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #006600; font-style: italic;">// Get the  current URL</span>
    <span style="color: #003366; font-weight: bold;">var</span> pathname <span style="color: #339933;">=</span> window.<span style="color: #660066;">location</span><span style="color: #339933;">;</span>
&nbsp;
   <span style="color: #006600; font-style: italic;">// Create the twitter URL</span>
    <span style="color: #003366; font-weight: bold;">var</span> tweeturl <span style="color: #339933;">=</span> <span style="color: #3366CC;">'http://twitter.com/share?url='</span><span style="color: #339933;">+</span><span style="color: #000066; font-weight: bold;">encodeURI</span><span style="color: #009900;">&#40;</span>pathname<span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">'&amp;via=MyTwitterUserName&amp;text=The editable text I want to include automatically in the tweet'</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #006600; font-style: italic;">// Place the text on the page. Change body to wherever you want the button placed. </span>
    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'body'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'&lt;a id=&quot;mycustomtwitterbutton&quot; href=&quot; '</span><span style="color: #339933;">+</span> tweeturl<span style="color: #339933;">+</span><span style="color: #3366CC;">' &quot;&gt;Tweet This&lt;/a&gt;'</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>The important parts:</h3>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> pathname <span style="color: #339933;">=</span> window.<span style="color: #660066;">location</span><span style="color: #339933;">;</span></pre></div></div>

<p>If you want the current URL to be tweeted use this. If you want your sites homepage to always be tweeted (not recommended) change this to something like: var pathname = http://www.mycoolsite.com;</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">http<span style="color: #339933;">:</span><span style="color: #006600; font-style: italic;">//twitter.com/share?url=</span></pre></div></div>

<p>This is the link to Twitter that allows you to tweet something.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&amp;</span>via<span style="color: #339933;">=</span></pre></div></div>

<p>Use this if you want to add an @ to yourself.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&amp;</span>text<span style="color: #339933;">=</span></pre></div></div>

<p>Use this if you want to add custom editable text to the tweet. Something like “I’m checking out this great post on www.mycoolsite.com”</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>a id<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;mycustomtwitterbutton&quot;</span> href<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;'+ tweeturl+'&quot;</span><span style="color: #339933;">&gt;</span>Tweet This<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span></pre></div></div>

<p>Change the &#8220;Tweet This&#8221; text to whatever you want, you could add an image here or use CSS to style &#8220;mycustomtwitterbutton&#8221; and make it look super cool. </p>
<h3>What else needs to be done?</h3>
<p>I would set it up so your link opens a small pop-up(500 X 400 should work), I know pop-ups have a bad name, but it’s what’s expected with a Tweet button. If you don’t want to open a pop-up I’d at least add a target=”_blank” to the link, like my example use.</p>
<p>Pros: You don’t need to load a JavaScript file from twitter.com.</p>
<p>Cons: If you have sloppy URLs with a bunch of strange characters or parameters this probably won’t work.</p>
<p>That’s pretty much it, keep reading if you want to add this to a WordPress Thematic theme.</p>
<h2>Adding a custom Twitter Tweet button to Thematic</h2>
<p>All the magic happens in your child themes functions.php file.</p>
<p>Open functions.php in your favorite text editor and add this.</p>
<p>NOTE: You should load this in with a JavaScript file and not directly into the header, but for this post I’m loading it directly into the header.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Adds some files to the head of my page</span>
<span style="color: #000000; font-weight: bold;">function</span> add_to_head<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
jQuery<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>ready<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #666666; font-style: italic;">// Get the  current URL</span>
<span style="color: #000000; font-weight: bold;">var</span> pathname <span style="color: #339933;">=</span> window<span style="color: #339933;">.</span>location<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Create the twitter URL</span>
<span style="color: #000000; font-weight: bold;">var</span> tweeturl <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://twitter.com/share?url='</span><span style="color: #339933;">+</span>encodeURI<span style="color: #009900;">&#40;</span>pathname<span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #0000ff;">'&amp;via=MyTwitterUserName&amp;text=The editable text I want to include automatically in the tweet'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Place the text on the page. Change body to wherever you want the button placed. </span>
jQuery<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'body'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>append<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;a id=&quot;mycustomtwitterbutton&quot; href=&quot;'</span><span style="color: #339933;">+</span> tweeturl<span style="color: #339933;">+</span><span style="color: #0000ff;">'&quot;&gt;Tweet This&lt;/a&gt;'</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
&nbsp;
<span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wp_head'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'add_to_head'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>NOTE: You could also load it into the footer with Thematic thematic_after() hook.</p>
<p>Make sure you edit everything like I did in the above example. </p>
<h2>Example</h2>
<p class="example">
<p>Next time I&#8217;ll show you how to make a custom Facebook Like button.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/qyyvpjjpZBFd74TodC5y-TEPNDk/0/da"><img src="http://feedads.g.doubleclick.net/~a/qyyvpjjpZBFd74TodC5y-TEPNDk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/qyyvpjjpZBFd74TodC5y-TEPNDk/1/da"><img src="http://feedads.g.doubleclick.net/~a/qyyvpjjpZBFd74TodC5y-TEPNDk/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ejhansel/~4/2R61TOgg1yE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ejhansel.com/create-a-custom-twitter-tweet-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ejhansel.com/create-a-custom-twitter-tweet-button/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 1.084 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-02-02 23:41:29 -->

