<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Pure CSS: Sticky Footer</title>
	<link>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/</link>
	<description>Living in harmony with science</description>
	<pubDate>Fri, 21 Nov 2008 08:38:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Ciaran</title>
		<link>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/#comment-1713</link>
		<dc:creator>Ciaran</dc:creator>
		<pubDate>Thu, 13 Nov 2008 18:16:37 +0000</pubDate>
		<guid>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/#comment-1713</guid>
		<description>I found this to work much better than Ryan Faits code, which doesn't work in Firefox no matter how hard I try.  It always put the footer at the bottom of the screen as opposed to the bottom of the content.  I'd recommend this version anyway, seems more robust. Cheers!</description>
		<content:encoded><![CDATA[<p>I found this to work much better than Ryan Faits code, which doesn&#8217;t work in Firefox no matter how hard I try.  It always put the footer at the bottom of the screen as opposed to the bottom of the content.  I&#8217;d recommend this version anyway, seems more robust. Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Bannister</title>
		<link>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/#comment-1661</link>
		<dc:creator>Sean Bannister</dc:creator>
		<pubDate>Sat, 01 Nov 2008 01:03:38 +0000</pubDate>
		<guid>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/#comment-1661</guid>
		<description>Here's some screenshots of this method from a heap of browsers you'll notice it doesn't work under IE 5.01 and 4.0 :
http://browsershots.org/http://www.lwis.net/profile/CSS/sticky-footer.html

Due to the small browser share of IE 5 this doesn't really bother me but it would be nice to work it out.</description>
		<content:encoded><![CDATA[<p>Here&#8217;s some screenshots of this method from a heap of browsers you&#8217;ll notice it doesn&#8217;t work under IE 5.01 and 4.0 :<br />
<a href="http://browsershots.org/http://www.lwis.net/profile/CSS/sticky-footer.html" rel="nofollow">http://browsershots.org/http://www.lwis.net/profile/CSS/sticky-footer.html</a></p>
<p>Due to the small browser share of IE 5 this doesn&#8217;t really bother me but it would be nice to work it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin</title>
		<link>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/#comment-1602</link>
		<dc:creator>Colin</dc:creator>
		<pubDate>Sat, 25 Oct 2008 11:29:17 +0000</pubDate>
		<guid>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/#comment-1602</guid>
		<description>I have re-visited the padding problem.  What I did originally was to remove your "theme" stuff as well as the link to your other CSS file.  I wrongly attributed the scroll bar appearance to the p margins.  I now discover that it is the padding applied to your "about" div.  If the padding is non-zero, then there is no scroll bar.  If the padding is zero, then scroll bar appears.  BUT: if the padding is too small, then when the window is short then the footer overlaps the content.  If you give the footer an opacity of around ,5, then you can see what overlaps with the padding too small.</description>
		<content:encoded><![CDATA[<p>I have re-visited the padding problem.  What I did originally was to remove your &#8220;theme&#8221; stuff as well as the link to your other CSS file.  I wrongly attributed the scroll bar appearance to the p margins.  I now discover that it is the padding applied to your &#8220;about&#8221; div.  If the padding is non-zero, then there is no scroll bar.  If the padding is zero, then scroll bar appears.  BUT: if the padding is too small, then when the window is short then the footer overlaps the content.  If you give the footer an opacity of around ,5, then you can see what overlaps with the padding too small.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/#comment-1541</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 19 Oct 2008 17:10:26 +0000</pubDate>
		<guid>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/#comment-1541</guid>
		<description>Thanks Colin for your feedback.

Regarding issue #1, see &lt;a href="http://www.lwis.net/profile/CSS/sticky-footer-min.html" rel="nofollow"&gt;this sticky footer without the link to my CSS file&lt;/a&gt;. Paragraph margin is set to 1em and it still looks fine on all browsers.

Regarding issue #2 I was actually hoping IE to enclose a float within a container 'automatically' (which it still does in many cases and websites), but I will have to look into this in the near future why it's not happening in this simple example.</description>
		<content:encoded><![CDATA[<p>Thanks Colin for your feedback.</p>
<p>Regarding issue #1, see <a href="http://www.lwis.net/profile/CSS/sticky-footer-min.html" rel="nofollow">this sticky footer without the link to my CSS file</a>. Paragraph margin is set to 1em and it still looks fine on all browsers.</p>
<p>Regarding issue #2 I was actually hoping IE to enclose a float within a container &#8216;automatically&#8217; (which it still does in many cases and websites), but I will have to look into this in the near future why it&#8217;s not happening in this simple example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin</title>
		<link>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/#comment-1511</link>
		<dc:creator>Colin</dc:creator>
		<pubDate>Thu, 16 Oct 2008 15:06:32 +0000</pubDate>
		<guid>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/#comment-1511</guid>
		<description>There is a problem with IE if you float your "about" div.  The footer will obscure the last line when the window is too small to hold both the content and the footer.  The "clear:both" is clearly not working in IE.  This is the solution that I have found - there may be a better one:

First create a new class in the CSS:

#prefooter {
  margin: 0 0 1px;
  width: 100%;
  height: 1px;
  clear: both;
}

and then put a suitable div in after the "about" div, so the structure looks like:


  
	
		
                     .. Whatever...
		
               
	
  
  My Sticky Footer


That seems to satisfy IE and does not upset FF.</description>
		<content:encoded><![CDATA[<p>There is a problem with IE if you float your &#8220;about&#8221; div.  The footer will obscure the last line when the window is too small to hold both the content and the footer.  The &#8220;clear:both&#8221; is clearly not working in IE.  This is the solution that I have found - there may be a better one:</p>
<p>First create a new class in the CSS:</p>
<p>#prefooter {<br />
  margin: 0 0 1px;<br />
  width: 100%;<br />
  height: 1px;<br />
  clear: both;<br />
}</p>
<p>and then put a suitable div in after the &#8220;about&#8221; div, so the structure looks like:</p>
<p>                     .. Whatever&#8230;</p>
<p>  My Sticky Footer</p>
<p>That seems to satisfy IE and does not upset FF.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/#comment-1503</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 15 Oct 2008 13:17:38 +0000</pubDate>
		<guid>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/#comment-1503</guid>
		<description>Hi

Thanks for the post. I normally use the Ryan Fait's sticky footer solution (http://ryanfait.com/sticky-footer/), but for some reason it simply would not work on the site I was cutting up today.

Anyway found your solution (the principle is basically the same but your implementations are different) and it worked like a treat.

Cheers</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Thanks for the post. I normally use the Ryan Fait&#8217;s sticky footer solution (http://ryanfait.com/sticky-footer/), but for some reason it simply would not work on the site I was cutting up today.</p>
<p>Anyway found your solution (the principle is basically the same but your implementations are different) and it worked like a treat.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: colin</title>
		<link>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/#comment-1495</link>
		<dc:creator>colin</dc:creator>
		<pubDate>Tue, 14 Oct 2008 14:56:09 +0000</pubDate>
		<guid>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/#comment-1495</guid>
		<description>Try your sticky footer, but remove the link to your CSS file.
I've just done it in IE7 - same thing - the scroll bar appears when the margin for "p" is not set to zero,
Other than that, this is a really neat solution - much better than others that I have seen.</description>
		<content:encoded><![CDATA[<p>Try your sticky footer, but remove the link to your CSS file.<br />
I&#8217;ve just done it in IE7 - same thing - the scroll bar appears when the margin for &#8220;p&#8221; is not set to zero,<br />
Other than that, this is a really neat solution - much better than others that I have seen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/#comment-1483</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 13 Oct 2008 11:52:47 +0000</pubDate>
		<guid>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/#comment-1483</guid>
		<description>Colin, again, it sounds like a specific issue. Provide us with a link to your page and we'll see if we can help. Margins, by the way, create outer, cross-layer space, so it can leak outside parent layers.</description>
		<content:encoded><![CDATA[<p>Colin, again, it sounds like a specific issue. Provide us with a link to your page and we&#8217;ll see if we can help. Margins, by the way, create outer, cross-layer space, so it can leak outside parent layers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin</title>
		<link>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/#comment-1481</link>
		<dc:creator>Colin</dc:creator>
		<pubDate>Mon, 13 Oct 2008 09:00:09 +0000</pubDate>
		<guid>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/#comment-1481</guid>
		<description>Unfortunately, that does not work for me (FF 3.0.3).  If I put a background over the "content" div, I see a white top margin, which pushes the displayed area larger than the window, however large the window is!  Putting p{margin:0;} solves this, but I do not understand how the "p" margin has leaked out into the enclosing section.</description>
		<content:encoded><![CDATA[<p>Unfortunately, that does not work for me (FF 3.0.3).  If I put a background over the &#8220;content&#8221; div, I see a white top margin, which pushes the displayed area larger than the window, however large the window is!  Putting p{margin:0;} solves this, but I do not understand how the &#8220;p&#8221; margin has leaked out into the enclosing section.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/#comment-1477</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 12 Oct 2008 19:50:39 +0000</pubDate>
		<guid>http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/#comment-1477</guid>
		<description>To Colin and all others that don't want to import my reset.css. You should replace:

&lt;pre&gt;&lt;code&gt;html, body, #container { height: 100%; }&lt;/code&gt;&lt;/pre&gt;

with:

&lt;pre&gt;&lt;code&gt;html, body, #container { height: 100%; margin: 0; padding: 0; }&lt;/code&gt;&lt;/pre&gt;

Good luck!</description>
		<content:encoded><![CDATA[<p>To Colin and all others that don&#8217;t want to import my reset.css. You should replace:</p>
<pre><code>html, body, #container { height: 100%; }</code></pre>
<p>with:</p>
<pre><code>html, body, #container { height: 100%; margin: 0; padding: 0; }</code></pre>
<p>Good luck!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
