<?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>Jemand.ru &#187; Sticky footer</title>
	<atom:link href="http://jemand.ru/tag/sticky-footer/feed/" rel="self" type="application/rss+xml" />
	<link>http://jemand.ru</link>
	<description>Веб строительство начинающим.</description>
	<lastBuildDate>Sat, 10 Mar 2012 15:39:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Прилипающий футер</title>
		<link>http://jemand.ru/prilipayushhij-futer/</link>
		<comments>http://jemand.ru/prilipayushhij-futer/#comments</comments>
		<pubDate>Sun, 27 Feb 2011 11:20:28 +0000</pubDate>
		<dc:creator>Jemand</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Sticky footer]]></category>
		<category><![CDATA[Прилипающий футер]]></category>

		<guid isPermaLink="false">http://jemand.ru/?p=461</guid>
		<description><![CDATA[1. CSS html, body, #wrap { height: 100%; margin: 0px; } body > #wrap { height: auto; min-height: 100%; } #main { padding-bottom: 50px; /* отступ должен быть равен высоте футера */ } #footer { position: relative; margin-top: -50px; /* отрицательное значение высоты футера */ height: 50px; clear:both; background: #000; text-align: center; color: #fff; font-size: [...]]]></description>
			<content:encoded><![CDATA[<p><span class="point">1. CSS</span></p>
<pre><code>html, body, #wrap {
height: 100%;
margin: 0px;
}
body > #wrap {
height: auto;
min-height: 100%;
}
#main {
padding-bottom: 50px; /* отступ должен быть равен высоте футера */
}
#footer {
position: relative;
margin-top: -50px; /* отрицательное значение высоты футера */
height: 50px;
clear:both;
background: #000;
text-align: center;
color: #fff;
font-size: 260%;
}
.clearfix:after {
content: ".";
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 */
</code></pre>
<p><span class="point">2. HTML</span></p>
<pre><code>&lt;div id="wrap"&gt;
&lt;div id="header"&gt;&lt;/div&gt;
&lt;div id="main" class="clearfix"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div id="footer"&gt;
Я липкий футер!
&lt;/div&gt;
</code></pre>
<p><a href="http://jemand.ru/examples/prilipayushhij-futer.html" target="_blank"><span class="demo">Демо</span></a></p>
]]></content:encoded>
			<wfw:commentRss>http://jemand.ru/prilipayushhij-futer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

