<?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: Quick Tip: CSS 100% Height</title>
	<atom:link href="http://www.tutwow.com/tips/quick-tip-css-100-height/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tutwow.com/tips/quick-tip-css-100-height/</link>
	<description>Playing Creativity Tag</description>
	<lastBuildDate>Wed, 10 Mar 2010 17:31:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Gavski</title>
		<link>http://www.tutwow.com/tips/quick-tip-css-100-height/comment-page-2/#comment-1492</link>
		<dc:creator>Gavski</dc:creator>
		<pubDate>Wed, 10 Mar 2010 17:31:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.tutwow.com/?p=186#comment-1492</guid>
		<description>Man, my head was aching  trying to solve this one. Thanks to you, problem solved.

Cheers :)</description>
		<content:encoded><![CDATA[<p>Man, my head was aching  trying to solve this one. Thanks to you, problem solved.</p>
<p>Cheers <img src='http://www.tutwow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2010-03-09 &#187; 4exp.net</title>
		<link>http://www.tutwow.com/tips/quick-tip-css-100-height/comment-page-2/#comment-1491</link>
		<dc:creator>links for 2010-03-09 &#187; 4exp.net</dc:creator>
		<pubDate>Tue, 09 Mar 2010 17:11:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.tutwow.com/?p=186#comment-1491</guid>
		<description>[...] CSS 100% Height &#124; TutWow (tags: css webdesign tutorial html tips) [...]</description>
		<content:encoded><![CDATA[<p>[...] CSS 100% Height | TutWow (tags: css webdesign tutorial html tips) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sam</title>
		<link>http://www.tutwow.com/tips/quick-tip-css-100-height/comment-page-2/#comment-1487</link>
		<dc:creator>sam</dc:creator>
		<pubDate>Mon, 08 Mar 2010 04:31:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.tutwow.com/?p=186#comment-1487</guid>
		<description>thank for the tip. I tried the code on several different browsers all with beautiful results.</description>
		<content:encoded><![CDATA[<p>thank for the tip. I tried the code on several different browsers all with beautiful results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 50 Useful Coding Techniques (CSS Layouts, Visual Effects and Forms) &#171; WebGlide - UX</title>
		<link>http://www.tutwow.com/tips/quick-tip-css-100-height/comment-page-2/#comment-1484</link>
		<dc:creator>50 Useful Coding Techniques (CSS Layouts, Visual Effects and Forms) &#171; WebGlide - UX</dc:creator>
		<pubDate>Thu, 04 Mar 2010 06:12:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.tutwow.com/?p=186#comment-1484</guid>
		<description>[...] items to flip between sizes. You will see that an area’s scroll depends on the configuration.CSS 100% HeightA common problem among designers is how to get a div to stretch 100% of the window’s height. There [...]</description>
		<content:encoded><![CDATA[<p>[...] items to flip between sizes. You will see that an area’s scroll depends on the configuration.CSS 100% HeightA common problem among designers is how to get a div to stretch 100% of the window’s height. There [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JR Prospal</title>
		<link>http://www.tutwow.com/tips/quick-tip-css-100-height/comment-page-2/#comment-1482</link>
		<dc:creator>JR Prospal</dc:creator>
		<pubDate>Wed, 03 Mar 2010 06:02:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.tutwow.com/?p=186#comment-1482</guid>
		<description>Michael, that worked for a layout I was testing on. Very nice.</description>
		<content:encoded><![CDATA[<p>Michael, that worked for a layout I was testing on. Very nice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Kozakewich</title>
		<link>http://www.tutwow.com/tips/quick-tip-css-100-height/comment-page-2/#comment-1481</link>
		<dc:creator>Michael Kozakewich</dc:creator>
		<pubDate>Wed, 03 Mar 2010 05:43:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.tutwow.com/?p=186#comment-1481</guid>
		<description>This doesn&#039;t work in Chrome. It&#039;s fine if the content fills the screen, but falls short of 100% if it doesn&#039;t.

html	{ height:100%; } 
body { min-height:100%; } 
#content { min-height:100%; }

That works, with the caveat that &#039;html&#039; doesn&#039;t go past 100%. Really, you shouldn&#039;t even be using &#039;html&#039; for backgrounds or borders, so it shouldn&#039;t matter. Make &#039;body&#039; the main background, and go for &#039;#container&#039; elements if you need more.

No min-height on &#039;html&#039;, but there is a min-height on &#039;body&#039; and the content area. This is because the height of the &#039;html&#039; element is not the same as the (other kind of) height of the &#039;html&#039; element. The border/background would only go to 100%, but the page itself will still grow (so elements inside will grow higher). A bit inconsistent, but I assume it&#039;s part of the spec (as both Webkit and Opera do it).</description>
		<content:encoded><![CDATA[<p>This doesn&#8217;t work in Chrome. It&#8217;s fine if the content fills the screen, but falls short of 100% if it doesn&#8217;t.</p>
<p>html	{ height:100%; }<br />
body { min-height:100%; }<br />
#content { min-height:100%; }</p>
<p>That works, with the caveat that &#8216;html&#8217; doesn&#8217;t go past 100%. Really, you shouldn&#8217;t even be using &#8216;html&#8217; for backgrounds or borders, so it shouldn&#8217;t matter. Make &#8216;body&#8217; the main background, and go for &#8216;#container&#8217; elements if you need more.</p>
<p>No min-height on &#8216;html&#8217;, but there is a min-height on &#8216;body&#8217; and the content area. This is because the height of the &#8216;html&#8217; element is not the same as the (other kind of) height of the &#8216;html&#8217; element. The border/background would only go to 100%, but the page itself will still grow (so elements inside will grow higher). A bit inconsistent, but I assume it&#8217;s part of the spec (as both Webkit and Opera do it).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Esta semana en Twitter: 27-02-2010 &#124; ceslava - Diseño y Formación</title>
		<link>http://www.tutwow.com/tips/quick-tip-css-100-height/comment-page-2/#comment-1480</link>
		<dc:creator>Esta semana en Twitter: 27-02-2010 &#124; ceslava - Diseño y Formación</dc:creator>
		<pubDate>Sat, 27 Feb 2010 20:08:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.tutwow.com/?p=186#comment-1480</guid>
		<description>[...] http://www.tutwow.com/tips/quick-tip-css-100-height/ # [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.tutwow.com/tips/quick-tip-css-100-height/" rel="nofollow">http://www.tutwow.com/tips/quick-tip-css-100-height/</a> # [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kflap</title>
		<link>http://www.tutwow.com/tips/quick-tip-css-100-height/comment-page-2/#comment-1477</link>
		<dc:creator>Kflap</dc:creator>
		<pubDate>Thu, 25 Feb 2010 22:50:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.tutwow.com/?p=186#comment-1477</guid>
		<description>this stretched to the bottom but not to the top</description>
		<content:encoded><![CDATA[<p>this stretched to the bottom but not to the top</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Sargeant</title>
		<link>http://www.tutwow.com/tips/quick-tip-css-100-height/comment-page-2/#comment-1476</link>
		<dc:creator>Chris Sargeant</dc:creator>
		<pubDate>Wed, 24 Feb 2010 22:10:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.tutwow.com/?p=186#comment-1476</guid>
		<description>If you pull the css right from the example html you will find that it is different from the posted css information on this page...

Not sure why that is</description>
		<content:encoded><![CDATA[<p>If you pull the css right from the example html you will find that it is different from the posted css information on this page&#8230;</p>
<p>Not sure why that is</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Sargeant</title>
		<link>http://www.tutwow.com/tips/quick-tip-css-100-height/comment-page-2/#comment-1475</link>
		<dc:creator>Chris Sargeant</dc:creator>
		<pubDate>Wed, 24 Feb 2010 22:05:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.tutwow.com/?p=186#comment-1475</guid>
		<description>The example is wrong

its close but not quite there

Make sure that html is specified as height: 100%; as well
NOT min-height

The only div that should be specified as &quot;min-height: 100%;&quot; is the div you want to expand the full height of the browser window. If you only specify it as &quot;height: 100%;&quot; when your page scrolls down the bg colour or image will be cut off.

@charset &quot;utf-8&quot;;
/* CSS Document */

html {
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
                height: 100%;
}

#content {
	background: #EEE;
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	padding: 0 20px 0 20px;
	margin: auto;
	font: 1.5em arial, verdana, sans-serif;
	width: 960px;
	min-height: 100%;</description>
		<content:encoded><![CDATA[<p>The example is wrong</p>
<p>its close but not quite there</p>
<p>Make sure that html is specified as height: 100%; as well<br />
NOT min-height</p>
<p>The only div that should be specified as &#8220;min-height: 100%;&#8221; is the div you want to expand the full height of the browser window. If you only specify it as &#8220;height: 100%;&#8221; when your page scrolls down the bg colour or image will be cut off.</p>
<p>@charset &#8220;utf-8&#8243;;<br />
/* CSS Document */</p>
<p>html {<br />
	height: 100%;<br />
}</p>
<p>body {<br />
	margin: 0;<br />
	padding: 0;<br />
                height: 100%;<br />
}</p>
<p>#content {<br />
	background: #EEE;<br />
	border-left: 1px solid #000;<br />
	border-right: 1px solid #000;<br />
	padding: 0 20px 0 20px;<br />
	margin: auto;<br />
	font: 1.5em arial, verdana, sans-serif;<br />
	width: 960px;<br />
	min-height: 100%;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
