<?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>The Cynic Gazette &#187; css</title>
	<atom:link href="http://www.cynicgazette.com/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cynicgazette.com</link>
	<description>Web Design, Skepticism, Photography and Social Comment</description>
	<lastBuildDate>Thu, 08 Oct 2009 18:31:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>IE6 min-height CSS hack without JavaScript</title>
		<link>http://www.cynicgazette.com/2009/05/29/ie6-min-height-css-hack-without-javascript/</link>
		<comments>http://www.cynicgazette.com/2009/05/29/ie6-min-height-css-hack-without-javascript/#comments</comments>
		<pubDate>Fri, 29 May 2009 18:05:49 +0000</pubDate>
		<dc:creator>Joisey Mike</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.cynicgazette.com/?p=174</guid>
		<description><![CDATA[Internet Explorer 6. I don&#8217;t hate it. Yes I do.
Here&#8217;s the story of an interesting min-height hack I came upon working with an outside design firm today. Technically it&#8217;s an exploit, since it&#8217;s exploiting a bug in IE6&#8217;s box model, but since we all know what people think when they see &#8220;IE6&#8243; and &#8220;exploit&#8221; in the [...]]]></description>
			<content:encoded><![CDATA[<p>Internet Explorer 6. I don&#8217;t hate it. Yes I do.</p>
<p>Here&#8217;s the story of an interesting <strong>min-height</strong> hack I came upon working with an outside design firm today. Technically it&#8217;s an exploit, since it&#8217;s exploiting a bug in IE6&#8217;s box model, but since we all know what people think when they see &#8220;IE6&#8243; and &#8220;exploit&#8221; in the same sentence, lets just leave &#8216;er be at &#8220;hack.&#8221;</p>
<p>When you define the height on a block element, let&#8217;s say a DIV, it&#8217;s pretty simple:</p>
<pre>div { height: 500px }</pre>
<p>However, if that div&#8217;s content (assuming normal document flow) will run longer than 500px in height, and you haven&#8217;t told the DIV what to do with the overflow, the height you&#8217;ve defined will act as a minimum height&#8230; like the <strong>min-height</strong> you can&#8217;t use since this is IE6.</p>
<p>So there you go. Use <strong>min-height</strong> in your master CSS document, and use <strong>height</strong> in your IE6 specific CSS document. Its really that simple.</p>
<p>Tricky, idin&#8217;t it <img src='http://www.cynicgazette.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cynicgazette.com/2009/05/29/ie6-min-height-css-hack-without-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
