<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WordPress Garden</title>
	<atom:link href="http://wordpressgarden.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://wordpressgarden.com</link>
	<description>Growing in the knowledge of Web Design and Development</description>
	<lastBuildDate>Fri, 08 Apr 2011 13:54:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>test</title>
		<link>http://wordpressgarden.com/test/</link>
		<comments>http://wordpressgarden.com/test/#comments</comments>
		<pubDate>Mon, 10 Jan 2011 19:56:09 +0000</pubDate>
		<dc:creator>HayleyE</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wordpressgarden.com/?p=298</guid>
		<description><![CDATA[asdfasdf]]></description>
			<content:encoded><![CDATA[<p>asdfasdf</p>
]]></content:encoded>
			<wfw:commentRss>http://wordpressgarden.com/test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Steps to a Secure WordPress Installation</title>
		<link>http://wordpressgarden.com/steps-to-a-secure-wordpress-installation/</link>
		<comments>http://wordpressgarden.com/steps-to-a-secure-wordpress-installation/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 02:20:32 +0000</pubDate>
		<dc:creator>Hayley7</dc:creator>
				<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">http://wordpressgarden.com/?p=257</guid>
		<description><![CDATA[As a Wordpress designer/developer, I'm frequently installing Wordpress. Along the way, I've compiled a sort of checklist to guide the process so I don't overlook any steps.]]></description>
			<content:encoded><![CDATA[<p>As a WordPress designer/developer, I&#8217;m frequently installing WordPress. Along the way, I&#8217;ve compiled a sort of checklist to guide the process so I don&#8217;t overlook any steps.</p>
<h3>1. Download and unzip the latest version of WordPress</h3>
<p>Get it here: <a href="http://wordpress.org">www.wordpress.org</a></p>
<h3>2. Create a Database and User on your web server</h3>
<p>Refer to the <a href="http://codex.wordpress.org/Installing_WordPress">WordPress Docs</a> for instructions on using cPanel, or if on a local test server, phpMyAdmin to create your database and user.</p>
<h3>3. Edit the wp-config.php file</h3>
<p>Chris Coyier has written a fabulous article detailing everything about editing and saving your wp-config file. Be sure to read it and follow all the steps. Here&#8217;s a quick recap:</p>
<ul>
<li>Rename wp-config-sample.php to wp-config.php</li>
<li>Enter database credentials</li>
<li>Enter unique secret keys and salts for security &#8211; via the <a href="https://api.wordpress.org/secret-key/1.1/salt/">WordPress.org secret key generator</a></li>
<li>Change the database table prefix</li>
<li>Extra tricks:</li>
<li>Limit post revisions</li>
<li>Set blog address and site address</li>
</ul>
<h3>4. Install WordPress by navigating to wp-admin/install.php</h3>
<p>Be sure to change the default user name &#8216;admin&#8217; to increase security.</p>
<h3>5. Delete the install.php file</h3>
<p>This is another way to boost security.</p>
<h3>6. Protect important files and directories with .htaccess</h3>
<p>Place this code in your site&#8217;s root .htaccess file:</p>
<pre><code>
# SECURE .HTACCESS
    &lt;Files .htaccess&gt;
     Order Allow,Deny
     Deny from all
    &lt;/Files&gt;  

# SECURE WP-CONFIG
    &lt;Files wp-config.php&gt;
     Order Deny,Allow
     Deny from all
    &lt;/Files&gt;  

# SECURE WP-ADMIN
&lt;FilesMatch ".*"&gt;
 Order Deny,Allow
 Deny from all
 Allow from 123.456.789
&lt;/FilesMatch&gt;
</code></pre>
<p>^Of course, you would change the IP address to your own in the above example.</p>
<h3>7. Log into the dashboard and complete these settings:</h3>
<p>a) User profile</p>
<p>b) Tagline</p>
<p>c) Time Zone</p>
<p>d) Writing, Reading, and Discussion (just look them over to make sure everything&#8217;s fine)</p>
<p>e) Change permalink structure</p>
<h3>8. Activate Akismet or other spam protection</h3>
<h3>9. Install and configure SEO and Security Plugins</h3>
<p><a href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/">All in One SEO Pack</a> is a great plugin for improving search engine optimization, as well as <a href="http://wordpress.org/extend/plugins/google-sitemap-generator/">Google XML Sitemaps</a></p>
<p>Install these plugins for security monitoring (recommended by Chris Coyier, <a href="http://digwp.com/2010/07/wordpress-security-lockdown/">WordPress Security Lockdown</a></p>
<ul>
<li><a href="http://wordpress.org/extend/plugins/wordpress-file-monitor/">WordPress File Monitor</a></li>
<li><a href="http://wordpress.org/extend/plugins/wp-security-scan/">WP Security Scan</a></li>
<li><a href="http://wordpress.org/extend/plugins/ultimate-security-check/">Ultimate Security Check</a></li>
<li><a href="http://wordpress.org/extend/plugins/secure-wordpress/">Secure WordPress</a></li>
</ul>
<h3>10. That&#8217;s it! Now you can start on the fun stuff. Good luck!</h3>
]]></content:encoded>
			<wfw:commentRss>http://wordpressgarden.com/steps-to-a-secure-wordpress-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 Resources for Learning WordPress and Web Development</title>
		<link>http://wordpressgarden.com/five-resources-for-learning/</link>
		<comments>http://wordpressgarden.com/five-resources-for-learning/#comments</comments>
		<pubDate>Fri, 10 Sep 2010 03:04:33 +0000</pubDate>
		<dc:creator>Hayley7</dc:creator>
				<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">http://wordpressgarden.com/?p=177</guid>
		<description><![CDATA[There is so much information on the web about web development, design, and WordPress that’s it’s easy to lose focus. We only have so much time on our hands, after all! Here’s a short list of learning resources that have proven to be the most useful to me.]]></description>
			<content:encoded><![CDATA[<p>There is so much information on the web about web development, design, and WordPress that&#8217;s it&#8217;s easy to lose focus. We only have so much time on our hands, after all! Here&#8217;s a short list of learning resources that have proven to be the most useful to me.</p>
<h3>1. Web Design University</h3>
<p><a href="http://webdesign.com/"><img class="size-full wp-image-181 alignnone" title="Web Design Logo" src="http://wordpressgarden.com/wp-content/uploads/2010/09/WD-Header32-e1284084195854.png" alt="Web Design Logo" width="319" height="96" /></a></p>
<p><a href="http://webdesign.com/">WebDesign.com</a> has become one of my favorite sites for learning WordPress. What&#8217;s so great about it? Webinars and video courses! Add to that a great instructor, Benjamin Bradley, and a live webinar chat &#8211; and you have the makings of a great learning experience. WebDesign.com does have an annual membership fee, which I highly recommend purchasing if you are serious about WordPress. Still, the site offers <strong>free webinars</strong> on a regular basis. Here&#8217;s 2 that are coming up:</p>
<h4>Friday, September 17th, 11am-Noon – Manipulating images and graphics with CSS</h4>
<p><strong><a href="https://www2.gotomeeting.com/register/330488819"></a></strong></p>
<h4>Monday, September 20th, 11am-Noon – Custom Post Types</h4>
<p>Go to <a href="http://webdesign.com/events/">http://webdesign.com/events</a>/ to learn more and register for a free webinar.</p>
<p><strong><a href="https://www2.gotomeeting.com/register/829828419"></a></strong></p>
<p>Members have access to all recorded webinars plus 60+ hours of instruction. Here&#8217;s a sample of the courses they offer:</p>
<ul>
<li><a href="http://webdesign.com/training/web-design-with-wordpress-12-09/">Web Design with WordPress</a></li>
<li><a href="http://webdesign.com/training/design-hacks-workshop">Design Hacks Workshop &amp; Course</a></li>
<li><a href="http://webdesign.com/training/wordpress-developer-course-advanced/">WordPress Developers Course</a></li>
<li><a href="http://webdesign.com/training/starting-a-successful-freelance-web-design-business/">Starting a Successful Freelance Web Design Business</a></li>
<li><a href="http://webdesign.com/training/project-management-for-web-design/">Project Managment for Web Design</a></li>
<li><a href="http://webdesign.com/training/blogging-your-way-to-career-stardom-12-09/">Blogging Your Way to Professional Success</a></li>
<li><a href="http://webdesign.com/web-design-business-course">Web Design Business &amp; Consultant Course</a></li>
<li><a href="http://webdesign.com/making-your-website-a-marketing-hub/">Making Your Website a Marketing Hub</a></li>
</ul>
<p>Be sure to check them out!</p>
<h3>2. CSS-Tricks</h3>
<p><a href="http://css-tricks.com/"><img class="alignnone size-full wp-image-182" title="css-tricks" src="http://wordpressgarden.com/wp-content/uploads/2010/09/css-tricks-e1284084289835.png" alt="" width="272" height="69" /></a></p>
<p><a href="http://css-tricks.com">CSS-Tricks.com</a> is probably the #1 blog I frequent. As web development community headed by Chris Coyier, CSS-Tricks was instrumental in teaching me to make my first WordPress theme via screencast. The site currently lists 91 videos on various web design/development topics. In addition to the blog, there are some cool free downloads, tons of useful snippets of code, and an active forum community.</p>
<p>Here&#8217;s the latest screencasts:</p>
<dl>
<dd></dd>
<dt><a href="http://css-tricks.com/video-screencasts/91-the-wordpress-loop/">#91: The WordPress Loop</a></dt>
</dl>
<dl>
<dd></dd>
<dt><a href="http://css-tricks.com/video-screencasts/90-simple-textmate-tips/">#90: Simple TextMate Tips</a></dt>
</dl>
<dl>
<dd></dd>
<dt><a href="http://css-tricks.com/video-screencasts/89-organizing-photoshop/">#89: Organizing a Photoshop Document</a></dt>
</dl>
<h3>3. Digging into WordPress</h3>
<p><a href="http://digwp.com/"><img class="alignnone size-full wp-image-183" title="DigWp logo" src="http://wordpressgarden.com/wp-content/uploads/2010/09/logo.png" alt="DigWp logo" width="466" height="145" /></a></p>
<p><a href="http://digwp.com">Digging into WordPress</a> is a blog by Chris Coyier and Jeff Star, focusing exclusively on WordPress. It&#8217;s a companion site to their awesome new book by the same title. Get started learning WordPress here!</p>
<h3>4. Sitepoint</h3>
<p><a href="http://www.sitepoint.com/"><img class="alignnone size-full wp-image-184" title="Site Point Logo" src="http://wordpressgarden.com/wp-content/uploads/2010/09/sitepointlogo.png" alt="Site Point Logo" width="202" height="61" /></a></p>
<p>I&#8217;m currently delving into <a href="http://www.sitepoint.com/">Sitepoint</a>&#8216;s PHP Live course, and I&#8217;m enjoying every minute of it. The combination of video+articles makes learning fun and easy. In addition to several web development courses, they offer some really great books as well as a very nice reference for HTML, CSS, and Javascript. Don&#8217;t foget the blog and articles &#8211; they house a treasure full of information to help you become a better web developer.</p>
<h3>5. W3Schools</h3>
<p><a href="http://www.w3schools.com/"><img class="alignnone size-full wp-image-185" title="W3Schools Banner" src="http://wordpressgarden.com/wp-content/uploads/2010/09/w3banner-e1284084530171.jpg" alt="W3Schools Banner" width="437" height="104" /></a></p>
<p>And of course, I couldn&#8217;t go without mentioning <a href="http://www.sitepoint.com/">W3Schools.com</a>. This is the first site I came across back when I was learning HTML. W3Schools is full of tutorials on HTML, CSS, Javascript, PHP, and more. There&#8217;s a full reference for each language as well. What is neat about this site is the interactive examples provided throughout the tutorials that help you understand how the code works.</p>
<p>So take a look around at these sites and be prepared to learn something new!</p>
]]></content:encoded>
			<wfw:commentRss>http://wordpressgarden.com/five-resources-for-learning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tabber Widget Plugin</title>
		<link>http://wordpressgarden.com/tabber-widget-plugin/</link>
		<comments>http://wordpressgarden.com/tabber-widget-plugin/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 21:45:27 +0000</pubDate>
		<dc:creator>Hayley7</dc:creator>
				<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://wordpressgarden.com/?p=158</guid>
		<description><![CDATA[DEMO This is a neat little plugin that lets you put several widgets in one widget area using tabs. I love tabs for organizing lots of content &#8211; it just looks neater and less cluttered. Tabber Widget is made by the awesome folks over at iThemes. You can download it from iThemes here, or just<a href="http://wordpressgarden.com/tabber-widget-plugin/" class="read_more">...Read more</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://wordpressgarden.com/demos/tabber-widget/" class="button">DEMO</a></p>
<p>This is a neat little plugin that lets you put several widgets in one widget area using tabs. I love tabs for organizing lots of content &#8211; it just looks neater and less cluttered. Tabber Widget is made by the awesome folks over at iThemes. You can download it from iThemes <a href="http://ithemes.com/ithemes-tabber-widget/">here</a>, or just search for it under Add New plugins in the admin.</p>
<p>Features:</p>
<ul>
<li>Up to ten tabs in one widget area</li>
<li>Four CSS styles to choose from, or create your own template</li>
<li>Works in all browsers</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://wordpressgarden.com/tabber-widget-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Custom Menus in WordPress 3.0</title>
		<link>http://wordpressgarden.com/using-custom-menus/</link>
		<comments>http://wordpressgarden.com/using-custom-menus/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 19:03:07 +0000</pubDate>
		<dc:creator>Hayley7</dc:creator>
				<category><![CDATA[WordPress Features]]></category>

		<guid isPermaLink="false">http://wordpressgarden.com/?p=91</guid>
		<description><![CDATA[WordPress version 3.0 includes an exciting new feature: Custom Navigation Menus. This menu system allows users to build and alter menus with a drag and drop menu interface. Previously menus had to be created in code with wp_list_pages or wp_list_categories, adding extra code to specify which items to include and in what order. Custom menus<a href="http://wordpressgarden.com/using-custom-menus/" class="read_more">...Read more</a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://wordpressgarden.com/wp-content/uploads/2010/08/appearance1.png" alt="Menu Link" title="Menu Link" width="158" height="144" class="alignright size-full wp-image-101" />WordPress version 3.0 includes an exciting new feature: Custom Navigation Menus. This menu system allows users to build and alter menus with a <strong>drag and drop menu interface</strong>. Previously menus had to be created in code with wp_list_pages or wp_list_categories, adding extra code to specify <strong>which items</strong> to include and in <strong>what order</strong>. Custom menus help users manage menus much more easily. However, to use this easy, code-free menu interface actually requires some coding work to enable it in your existing theme.</p>
<p>Features of the menu system: </p>
<ul>
<li>Drag and drop interface</li>
<li>Combines pages, categories, and links</li>
<li>Easily re-ordered menu</li>
<li>Sub menus</li>
<li>Hide specific pages or categories</li>
</ul>
<p>Here&#8217;s a snapshot of the menus panel:<br />
<img src="http://wordpressgarden.com/wp-content/uploads/2010/08/appearance_menu.png" alt="Menu Screen" title="Menu Screen" width="600" height="472" class="aligncenter size-full wp-image-99" /></p>
<p>Follow the steps below to make custom menus a part of your theme!</p>
<h3>1. Register menus in your function.php file</h3>
<p>Add this code at the bottom of your functions.php file, right before the ending <code>?&gt;</code></p>
<pre>
<code>if ( function_exists( 'register_nav_menus' ) ) {
  	register_nav_menus(
  		array(
  		  'primary_menu' =&gt; 'Primary Menu',
  		)
  	);
}
</code>
</pre>
<p>To add multiple menus, follow this pattern:</p>
<pre>
<code>if ( function_exists( 'register_nav_menus' ) ) {
  	register_nav_menus(
  		array(
  		   'primary_menu' =&gt; 'Primary Menu',
  		   'sidebar_menu' =&gt; 'Sidebar Menu',
		   'footer_menu' =&gt; 'Footer Menu'
		)
  	);
}</code>
</pre>
<h3>2. Create a menu in the menu panel</h3>
<p>Now the menus panel will appear under the Appearances tab on the WordPress dashboard.<br />
Build and save a custom menu, giving it a name and including all the pages, categories, and posts you want in the menu.<br />
To create a sub-menu item, drag and drop the item a little to the right of the previous item.<br />
Once you have a menu saved, save it to a location under &#8220;Theme Locations&#8221;. These locations correspond with the menus you registered in functions.php</p>
<h3>3. Insert the menu into your theme</h3>
<p>Add this code to your theme file where you want the menu to appear:</p>
<pre>
<code>&lt;?php wp_nav_menu( array('menu' =&gt; 'Primary Menu' )); ?&gt;</code>
</pre>
<p>Replace &#8220;Primary Menu&#8221; with whatever you named the menu in the menus panel.</p>
<h3>4. Enjoy your easy to manage menu system</h3>
<p>Navigation changes will be a breeze from now on!</p>
]]></content:encoded>
			<wfw:commentRss>http://wordpressgarden.com/using-custom-menus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exploring the Sticky Footer</title>
		<link>http://wordpressgarden.com/exploring-the-sticky-footer/</link>
		<comments>http://wordpressgarden.com/exploring-the-sticky-footer/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 19:50:45 +0000</pubDate>
		<dc:creator>Hayley7</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://localhost/wordpress/?p=56</guid>
		<description><![CDATA[I thought I was done setting up my new blog theme when I noticed that something wasn&#8217;t right on my about page. Hmm&#8230;there&#8217;s a gap at the bottom of the page! The footer isn&#8217;t at the bottom &#8211; it&#8217;s crept up because there is not enough content to fill the browser window. See for yourself:<a href="http://wordpressgarden.com/exploring-the-sticky-footer/" class="read_more">...Read more</a>]]></description>
			<content:encoded><![CDATA[<p>I thought I was done setting up my new blog theme when I noticed that something wasn&#8217;t right on my about page. Hmm&#8230;there&#8217;s a <strong>gap at the bottom</strong> of the page! The footer isn&#8217;t at the bottom &#8211; it&#8217;s crept up because there is <strong>not enough content</strong> to fill the browser window. See for yourself:<br />
<img src="http://wordpressgarden.com/wp-content/uploads/2010/08/sticky_footer_before1.png" alt="Sticky Footer Problem" title="sticky_footer_before" width="522" height="390" class="aligncenter size-full wp-image-69" /></p>
<p style="text-align: left;">I&#8217;m using the free <a href="http://wordpress.org/extend/themes/titan">Titan theme</a>, and I really like it. Only it has some footer problems.</p>
<p>How can I fix this?</p>
<ol>
<li><strong>I could write more about me</strong>. Just kidding! More content is not going to fix anything &#8211; it&#8217;ll just cover up the problem for a while.</li>
<li><strong>I could set a minimum height for the content</strong>, so it is as long as the browser window. Nope. Browser window heights come in all sizes. The right height for one is wrong for another!</li>
<li><strong>I could use a sticky footer</strong>. Of course! A footer that sticks at the bottom of the page no matter what the browser height or how little content there is. Perfect!</li>
</ol>
<h3>How a Sticky Footer Works</h3>
<p>There&#8217;s more than one way to make a footer stick, but I&#8217;ve found that <a href="http://ryanfait.com/sticky-footer/">Ryan Fait&#8217;s Sticky Footer</a> is one of the best. It&#8217;s fairly simple, and it works! Just a few lines of CSS code and some HTML, and you&#8217;ll have that footer tamed in no time.</p>
<p>It can be a little confusing at first, though. I&#8217;m going walk you through each part so you know <strong>how </strong>and <strong>why</strong> it works.</p>
<h3>The Basic Idea</h3>
<ol>
<li>We are going to <strong>extend the content area to 100% of the browser window height, then put the footer below that</strong>. Yes, that will make the footer off the screen, and you would have to scroll down to see the footer.</li>
<p><img src="http://wordpressgarden.com/wp-content/uploads/2010/08/end_of_content.png" alt="Illustration 1" title="end_of_content" width="525" height="405" class="alignnone size-full wp-image-71" /></p>
<li>Now we&#8217;re going to pull the footer up into place, but first we need a space to put it. We add an extra &#8220;push&#8221; div the same height as the footer before we end the content div so that the footer will have it&#8217;s own place and never overlap the content.</li>
<p><img src="http://wordpressgarden.com/wp-content/uploads/2010/08/push_div.png" alt="Illustration 2" title="push_div" width="600" height="395" class="alignnone size-full wp-image-72" /></p>
<li>Finally we will <strong>set the <strong>negative bottom margin</strong> on the content that equals the height of the footer</strong>. This will draw the footer up into place at the bottom, like so.</li>
</ol>
<p><img src="http://wordpressgarden.com/wp-content/uploads/2010/08/footer_up.png" alt="Illustration 3" title="footer_up" width="525" height="364" class="alignnone size-full wp-image-73" /></p>
<h3>The Code</h3>
<p>Follow this structure in your HTML:</p>
<pre><code> &lt;html&gt;
     &lt;body&gt;
         &lt;div class="wrapper"&gt;
             &lt;p&gt;Your website content here.&lt;/p&gt;
             &lt;div class="push"&gt;&lt;/div&gt;
         &lt;/div&gt;
         &lt;div class="footer"&gt;
             &lt;p&gt;Copyright (c) 2008&lt;/p&gt;
         &lt;/div&gt;
     &lt;/body&gt;
 &lt;/html&gt;</code>
</pre>
<p>All of your content <strong>except</strong> the footer needs to be in a wrapper div (You can name it whatever you like). I call mine sticky_footer_wrap so I know exactly what it&#8217;s there for. Make sure to include the &#8220;push&#8221; div at the very bottom of your content wrap, before you close it. If you don&#8217;t use it, your footer could overlap your content. Now add your footer div after the wrapper div. That&#8217;s it! Next is the css code.</p>
<p>Here is the CSS in full:</p>
<pre><code>* {
margin: 0;
}
html, body {
height: 100%;
}
.wrapper {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -200px;
}
.footer, .push {
height: 200px;
}</code>
</pre>
<p>And here is the CSS code explained part by part:</p>
<pre><code>* {
margin: 0;
}</code>
</pre>
<p>This resets the margin to 0px on all elements. Often this is already included in a layout design, if you don&#8217;t have it in your stylesheet, then add it.</p>
<pre><code>html, body {
height: 100%;
}</code>
</pre>
<p>For the minimum height to work, all the parent elements of the wrapper div (html and body) must be set to 100% height.</p>
<pre><code>.wrapper {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -200px;
}</code>
</pre>
<p>Here&#8217;s our content wrapper. We&#8217;re setting it&#8217;s min-height to 100%. The extra height rules are a necessary hack to work in IE 6. We&#8217;re using min-height because if we used only height, any content longer that that height would disappear! And we have our negative margin here: -200px is the bottom margin, while sides are auto margin and the top is 0. -200px is just an example size. <strong>Note:</strong> the negative margin must be the exact height of the footer. This means <strong>including any padding and borders.</strong> If you find that your footer is not quite up in place, check to see how much padding and borders are added and increase the negative margin by that amount.</p>
<pre><code>.footer, .push {
height: 200px;
}</code>
</pre>
<p>And last is the height for our footer and push div. Again, 200px is just an example &#8211; replace the footer height and the negative margin with your own measurements.</p>
<p>That&#8217;s the way it works! So get your HTML structure set up, add the CSS to your stylesheet, and try this out for yourself.<br />
Happy coding!<br />
~Hayley</p>
]]></content:encoded>
			<wfw:commentRss>http://wordpressgarden.com/exploring-the-sticky-footer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

