<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Wiredbyte</title>
  <subtitle>A Place to Rant and Muse over all things Tech</subtitle>
  <link rel="alternate" type="text/html" href="http://www.wiredbyte.com/2009/jan/making-a-page-footer-stay-at-the-bottom"/>
  <link rel="self" type="application/atom+xml" href="http://www.wiredbyte.com/node/154/atom/feed"/>
  <id>http://www.wiredbyte.com/node/154/atom/feed</id>
  <updated>2009-01-18T14:55:57-08:00</updated>
  <entry>
    <title>Making a Page footer STAY at the bottom</title>
    <link rel="alternate" type="text/html" href="http://www.wiredbyte.com/2009/jan/making-a-page-footer-stay-at-the-bottom" />
    <id>http://www.wiredbyte.com/2009/jan/making-a-page-footer-stay-at-the-bottom</id>
    <published>2009-01-18T14:55:23-08:00</published>
    <updated>2009-01-18T14:55:57-08:00</updated>
    <author>
      <name>Michael</name>
    </author>
    <summary type="html"><![CDATA[<p>I have tried many, MANY ways over the years to reliably get a web page footer to stay at the bottom of the page.  Most methods involve setting many div heights to 100%, which somehow makes it all magically happen.</p>
<p>I have found a much more reliable method.</p>
<p>
<div class="geshifilter">
<ol>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">.footer<span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; &nbsp; position: absolute;</div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; &nbsp; bottom: <span style="color: #cc66cc;">0</span>;</div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; &nbsp; z-index: <span style="color: #cc66cc;">5</span>;</div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; &nbsp; width: *your page width*</div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color: #66cc66;">&#125;</span></div>
</li>
</ol>
</div>
</p>
<p>I have only tried this method with fixed width pages, but it seems to work well. Better than any other method I used. Please note that the z-index is set to make sure the footer appears on top of other elements, and may need to be adjusted.</p>
    ]]></summary>
    <content type="html"><![CDATA[<p>I have tried many, MANY ways over the years to reliably get a web page footer to stay at the bottom of the page.  Most methods involve setting many div heights to 100%, which somehow makes it all magically happen.</p>
<p>I have found a much more reliable method.</p>
<p><div class="geshifilter"><ol><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">.footer<span style="color: #66cc66;">&#123;</span></div></li>
<li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; &nbsp; position: absolute;</div></li>
<li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; &nbsp; bottom: <span style="color: #cc66cc;">0</span>;</div></li>
<li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; &nbsp; z-index: <span style="color: #cc66cc;">5</span>;</div></li>
<li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; &nbsp; width: *your page width*</div></li>
<li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color: #66cc66;">&#125;</span></div></li></ol></div></p>
<p>I have only tried this method with fixed width pages, but it seems to work well. Better than any other method I used. Please note that the z-index is set to make sure the footer appears on top of other elements, and may need to be adjusted.</p>
    ]]></content>
  </entry>
</feed>
