<?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>Cre8ive Commando &#187; css sticky footer</title>
	<atom:link href="http://www.cre8ivecommando.com/tag/css-sticky-footer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cre8ivecommando.com</link>
	<description>Explosive Creativity</description>
	<lastBuildDate>Sat, 04 Feb 2012 10:33:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>CSS Sticky Footer &#8211; Keep your footer at the bottom of the page</title>
		<link>http://www.cre8ivecommando.com/css-sticky-footer-keep-your-footer-at-the-bottom-of-the-page-1124/</link>
		<comments>http://www.cre8ivecommando.com/css-sticky-footer-keep-your-footer-at-the-bottom-of-the-page-1124/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 13:45:33 +0000</pubDate>
		<dc:creator>Adham Dannaway</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[bottom footer]]></category>
		<category><![CDATA[css sticky footer]]></category>
		<category><![CDATA[fixed footer]]></category>
		<category><![CDATA[footer at bottom]]></category>
		<category><![CDATA[keep footer at bottom of page]]></category>
		<category><![CDATA[sticky footer]]></category>

		<guid isPermaLink="false">http://www.cre8ivecommando.com/?p=1124</guid>
		<description><![CDATA[On larger monitors or web pages with a small amount of content you often find that the footer is floating halfway up the page. When really it should be stuck nicely to the bottom of the page at all times. There is a very simple way to keep your footer at the bottom of the [...]


Related posts:<ol><li><a href='http://www.cre8ivecommando.com/how-to-create-clickable-links-in-sifr3-288/' rel='bookmark' title='How to create clickable links in sIFR3'>How to create clickable links in sIFR3</a></li>
<li><a href='http://www.cre8ivecommando.com/create-a-custom-twitter-background-the-right-way-994/' rel='bookmark' title='Create a custom twitter background the right way'>Create a custom twitter background the right way</a></li>
<li><a href='http://www.cre8ivecommando.com/exclude-a-category-from-your-wordpress-index-page-830/' rel='bookmark' title='Exclude a category from your WordPress index page'>Exclude a category from your WordPress index page</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>On larger monitors or web pages with a small amount of content you often find that the footer is floating halfway up the page. When really it should be stuck nicely to the bottom of the page at all times. There is a very simple way to keep your footer at the bottom of the page and it&#8217;s called CSS Sticky Footer.<span id="more-1124"></span></p>
<p><a rel="nofollow" href="http://www.cssstickyfooter.com" target="_blank">CSS Sticky Footer</a> is a simple method consisting of only CSS and HTML that keeps your footer stuck to the bottom of the page. It is cross browser friendly and takes only minutes to implement on your website. Let&#8217;s have a look at how it works and how to implement it on our website.</p>
<h2>How Sticky Footer Works</h2>
<h3>The HTML Code</h3>
<p>Below is an example of a basic website structure which contains a header across the top of the page, a main content area on the left, a sidebar on the right and a footer across the bottom of the page. You will need the &#8220;wrap&#8221;, &#8220;main&#8221; and &#8220;footer&#8221; div elements present in your website.</p>
<pre class="brush: xml;">
&lt;div id=&quot;wrap&quot;&gt;
    &lt;div id=&quot;header&quot;&gt;
        Your header goes here
    &lt;/div&gt;
    &lt;div id=&quot;main&quot; class=&quot;clearfix&quot;&gt;
        &lt;div id=&quot;content&quot;&gt;Your content goes here&lt;/div&gt;
        &lt;div id=&quot;sidebar&quot;&gt;Your sidebar goes here&lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;

&lt;div id=&quot;footer&quot;&gt;
    Your footer goes here
&lt;/div&gt;
</pre>
<h3>The CSS Code</h3>
<p>Below is the CSS that will make your footer stick to the bottom of the page along with the &#8220;clearfix&#8221; hack which will fix other floating layout issues. Simply add this CSS to your stylesheet and make sure that the three instances of the footer height below are all the same.</p>
<pre class="brush: css;">
html, body, #wrap {height: 100%;}

body &gt; #wrap {height: auto; min-height: 100%;}

#main {padding-bottom: 150px;}  /* must be same height as the footer */

#footer {position: relative;
	margin-top: -150px; /* negative value of footer height */
	height: 150px;
	clear:both;}

.clearfix:after {content: &quot;.&quot;;
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}

.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
</pre>
<p>For further details please refer to the <a rel="nofollow" href="http://www.cssstickyfooter.com/using-sticky-footer-code.html" target="_blank">CSS Sticky Footer website</a>. Here is <a href="http://matthewjamestaylor.com/blog/keeping-footers-at-the-bottom-of-the-page" target="_blank">another great method</a> to keep your footer at the bottom of the page.</p>


<p>Related posts:</p><ol><li><a href='http://www.cre8ivecommando.com/how-to-create-clickable-links-in-sifr3-288/' rel='bookmark' title='How to create clickable links in sIFR3'>How to create clickable links in sIFR3</a></li>
<li><a href='http://www.cre8ivecommando.com/create-a-custom-twitter-background-the-right-way-994/' rel='bookmark' title='Create a custom twitter background the right way'>Create a custom twitter background the right way</a></li>
<li><a href='http://www.cre8ivecommando.com/exclude-a-category-from-your-wordpress-index-page-830/' rel='bookmark' title='Exclude a category from your WordPress index page'>Exclude a category from your WordPress index page</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://www.cre8ivecommando.com/css-sticky-footer-keep-your-footer-at-the-bottom-of-the-page-1124/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

