<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Sticky Footer at Bottom of Page using JQuery</title>
	<atom:link href="http://webplantmedia.com/jquery/2010/04/sticky-footer-at-bottom-of-page-using-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://webplantmedia.com/jquery/2010/04/sticky-footer-at-bottom-of-page-using-jquery/</link>
	<description>Lubbock Web Design and Web Development</description>
	<lastBuildDate>Sat, 21 Jan 2012 08:57:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: tbone</title>
		<link>http://webplantmedia.com/jquery/2010/04/sticky-footer-at-bottom-of-page-using-jquery/comment-page-1/#comment-6146</link>
		<dc:creator>tbone</dc:creator>
		<pubDate>Mon, 30 May 2011 18:56:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.webplantmedia.com/?p=375#comment-6146</guid>
		<description>very nice *little* jquery script.</description>
		<content:encoded><![CDATA[<p>very nice *little* jquery script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saurabh Gupta</title>
		<link>http://webplantmedia.com/jquery/2010/04/sticky-footer-at-bottom-of-page-using-jquery/comment-page-1/#comment-4077</link>
		<dc:creator>Saurabh Gupta</dc:creator>
		<pubDate>Thu, 17 Feb 2011 08:59:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.webplantmedia.com/?p=375#comment-4077</guid>
		<description>Thanks..!! Nice... work</description>
		<content:encoded><![CDATA[<p>Thanks..!! Nice&#8230; work</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DanielP</title>
		<link>http://webplantmedia.com/jquery/2010/04/sticky-footer-at-bottom-of-page-using-jquery/comment-page-1/#comment-2830</link>
		<dc:creator>DanielP</dc:creator>
		<pubDate>Tue, 19 Oct 2010 12:06:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.webplantmedia.com/?p=375#comment-2830</guid>
		<description>Here is the division structure for the script above:

&lt;pre&gt;&lt;div class=&quot;toplevel&quot;&gt;
		&lt;div class=&quot;header&quot;&gt;&lt;/div&gt;
		&lt;div class=&quot;content&quot;&gt;&lt;
			Your content here
			&lt;div class=&quot;content-padt&quot;&gt;&lt;/div&gt;
		/div&gt;
		&lt;div class=&quot;footer&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Here is the division structure for the script above:</p>
<pre>&lt;div class="toplevel"&gt;
		&lt;div class="header"&gt;&lt;/div&gt;
		&lt;div class="content"&gt;&lt;
			Your content here
			&lt;div class="content-padt"&gt;&lt;/div&gt;
		/div&gt;
		&lt;div class="footer"&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: DanielP</title>
		<link>http://webplantmedia.com/jquery/2010/04/sticky-footer-at-bottom-of-page-using-jquery/comment-page-1/#comment-2808</link>
		<dc:creator>DanielP</dc:creator>
		<pubDate>Sun, 17 Oct 2010 14:15:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.webplantmedia.com/?p=375#comment-2808</guid>
		<description>This is not working with all browsers. The best way is to have a high level div wrapping everything:



        
        
                
         
         
        

And then the script in the header goes like this:

    
        jQuery(document).ready(function() {
            positionFooter();
            function positionFooter(){
    			var page_height = jQuery(&quot;#toplevel&quot;).height();
    			var window_height = jQuery(window).height();
    			var difference = window_height - page_height;
    			if (difference &lt; 0)
        			difference = 0;

    		    jQuery(&quot;#content-pad&quot;).css({
        			height: difference + &quot;px&quot;
    		    })

			}

        });
    

Voilà</description>
		<content:encoded><![CDATA[<p>This is not working with all browsers. The best way is to have a high level div wrapping everything:</p>
<p>And then the script in the header goes like this:</p>
<p>        jQuery(document).ready(function() {<br />
            positionFooter();<br />
            function positionFooter(){<br />
    			var page_height = jQuery(&#8220;#toplevel&#8221;).height();<br />
    			var window_height = jQuery(window).height();<br />
    			var difference = window_height &#8211; page_height;<br />
    			if (difference &lt; 0)<br />
        			difference = 0;</p>
<p>    		    jQuery(&quot;#content-pad&quot;).css({<br />
        			height: difference + &quot;px&quot;<br />
    		    })</p>
<p>			}</p>
<p>        });</p>
<p>Voilà</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaz3e</title>
		<link>http://webplantmedia.com/jquery/2010/04/sticky-footer-at-bottom-of-page-using-jquery/comment-page-1/#comment-2653</link>
		<dc:creator>Shaz3e</dc:creator>
		<pubDate>Fri, 10 Sep 2010 19:42:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.webplantmedia.com/?p=375#comment-2653</guid>
		<description>Well thanx ChirsB for you reply I got the solutions now, actually there was a mistake in my HTML but I corrected it thanx anyway 


Cheers</description>
		<content:encoded><![CDATA[<p>Well thanx ChirsB for you reply I got the solutions now, actually there was a mistake in my HTML but I corrected it thanx anyway </p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaz3e</title>
		<link>http://webplantmedia.com/jquery/2010/04/sticky-footer-at-bottom-of-page-using-jquery/comment-page-1/#comment-2652</link>
		<dc:creator>Shaz3e</dc:creator>
		<pubDate>Fri, 10 Sep 2010 19:38:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.webplantmedia.com/?p=375#comment-2652</guid>
		<description>@ ChrisB

Thanx for the reply, here is the link of the page is being developed,

http://dev.diligentcreators.com/cms/index.php?page=Support+%26%23187%3B+Solutions

hope you may help me in this ...</description>
		<content:encoded><![CDATA[<p>@ ChrisB</p>
<p>Thanx for the reply, here is the link of the page is being developed,</p>
<p><a href="http://dev.diligentcreators.com/cms/index.php?page=Support+%26%23187%3B+Solutions" rel="nofollow">http://dev.diligentcreators.com/cms/index.php?page=Support+%26%23187%3B+Solutions</a></p>
<p>hope you may help me in this &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ChrisB</title>
		<link>http://webplantmedia.com/jquery/2010/04/sticky-footer-at-bottom-of-page-using-jquery/comment-page-1/#comment-2651</link>
		<dc:creator>ChrisB</dc:creator>
		<pubDate>Fri, 10 Sep 2010 16:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.webplantmedia.com/?p=375#comment-2651</guid>
		<description>Your css looks right. does you html look like this...

&lt;pre&gt;
&lt;div class=&quot;footer&quot;&gt;
   Your footer content		
&lt;/div&gt;
&lt;/pre&gt;

You can go to mcguirebuildersinc.com and I&#039;m using the sticky footer there. Feel free to send me a link to the webpage you are working on and I can take a look at it.</description>
		<content:encoded><![CDATA[<p>Your css looks right. does you html look like this&#8230;</p>
<pre>
&lt;div class="footer"&gt;
   Your footer content
&lt;/div&gt;
</pre>
<p>You can go to mcguirebuildersinc.com and I&#8217;m using the sticky footer there. Feel free to send me a link to the webpage you are working on and I can take a look at it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaz3e</title>
		<link>http://webplantmedia.com/jquery/2010/04/sticky-footer-at-bottom-of-page-using-jquery/comment-page-1/#comment-2649</link>
		<dc:creator>Shaz3e</dc:creator>
		<pubDate>Fri, 10 Sep 2010 15:50:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.webplantmedia.com/?p=375#comment-2649</guid>
		<description>I am putting your script on my page but seems like not working any more pls do let me know if I am doing wrong my footer class css looks like this:
.footer {
	height: 228px;
	background-color: #c1c3c8;
	background-image: url(../_img/footerbg.gif);
	background-repeat: repeat-x;
}</description>
		<content:encoded><![CDATA[<p>I am putting your script on my page but seems like not working any more pls do let me know if I am doing wrong my footer class css looks like this:<br />
.footer {<br />
	height: 228px;<br />
	background-color: #c1c3c8;<br />
	background-image: url(../_img/footerbg.gif);<br />
	background-repeat: repeat-x;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://webplantmedia.com/jquery/2010/04/sticky-footer-at-bottom-of-page-using-jquery/comment-page-1/#comment-2409</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 25 May 2010 15:02:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.webplantmedia.com/?p=375#comment-2409</guid>
		<description>Just stumbled across this - brilliant! Many thanks. How would you tweak it to work as Peter says previously - ie with the padding at the bottom rather than the top? I&#039;ve been monkeying around with the script but I don&#039;t know what I&#039;m doing. Thanks, Mike.</description>
		<content:encoded><![CDATA[<p>Just stumbled across this &#8211; brilliant! Many thanks. How would you tweak it to work as Peter says previously &#8211; ie with the padding at the bottom rather than the top? I&#8217;ve been monkeying around with the script but I don&#8217;t know what I&#8217;m doing. Thanks, Mike.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://webplantmedia.com/jquery/2010/04/sticky-footer-at-bottom-of-page-using-jquery/comment-page-1/#comment-1329</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Mon, 03 May 2010 07:59:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.webplantmedia.com/?p=375#comment-1329</guid>
		<description>Thank you very much! Modified it to expand the div above the footer to add bottom-padding instead, and works perfectly. Thanks!</description>
		<content:encoded><![CDATA[<p>Thank you very much! Modified it to expand the div above the footer to add bottom-padding instead, and works perfectly. Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

