<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Comments on snippet: 'min-height for IE (and all other browsers)'</title>
<link>http://snipplr.com</link>
<description>Snipplr comments feed'</description>
<language>en-us</language>
<pubDate>Mon, 15 Mar 2010 21:11:12 GMT</pubDate>
<item>
<title>WebsiteDesign said on 1/13/10</title>
<link>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</link>
<description><![CDATA[ IE creates problems for java scripts.It is better to use other browsers as Google Chrome,Mozilla to run these scripts without any hurdle. ]]></description>
<pubDate>Wed, 13 Jan 2010 00:43:41 GMT</pubDate>
<guid>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</guid>
</item>
<item>
<title>smoothdzion said on 11/4/09</title>
<link>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</link>
<description><![CDATA[ If you're going to use JavaScript, keep it out of the CSS. ]]></description>
<pubDate>Wed, 04 Nov 2009 14:00:32 GMT</pubDate>
<guid>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</guid>
</item>
<item>
<title>bucabay said on 9/3/09</title>
<link>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</link>
<description><![CDATA[ A better solution is to use the expression() CSS function in IE. 

Example:

	/** css2 compliant */
	#page_wrap {
		max-width: 800px;
		min-width: 600px;
	}
	
	/* ie min-width, max-width emulation */
	* html #page_wrap {
		width: 800px; /* in case JS is off, set a fallback width. default is auto */
		width: expression(Math.max(Math.min((document.documentElement ? document.documentElement.clientWidth : document.body.clientWidth) - 20, 800), 600)+'px');
	}

This example is a bit old, since IE7+ supports min/max dimensions, you should IE specific Comments. 

The expiation is at: [Min-Max witdh for IE][1]

[1]: http://www.fijiwebdesign.com/fiji-web-design-blog/max-width-and-min-width-support-for-ie.html "Fiji Web Design" ]]></description>
<pubDate>Thu, 03 Sep 2009 09:45:11 GMT</pubDate>
<guid>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</guid>
</item>
<item>
<title>ranjitsachin said on 8/7/09</title>
<link>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</link>
<description><![CDATA[ hi rasmus,

You can specify _height. But its only for IE6 . But if u r specified *height, it will apply for all versions ]]></description>
<pubDate>Fri, 07 Aug 2009 03:55:52 GMT</pubDate>
<guid>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</guid>
</item>
<item>
<title>LeeRJohnson said on 7/25/09</title>
<link>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</link>
<description><![CDATA[ Here's an idea...stop using IE6. it worked everywhere in 2003. i honestly cant fuckin believe people spend the time to figure out how to make IE6 work. i can't live that way. i want to write proper code...until developers stop supporting IE6...IE6 it will be. ]]></description>
<pubDate>Sat, 25 Jul 2009 17:58:40 GMT</pubDate>
<guid>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</guid>
</item>
<item>
<title>swiftouch said on 7/18/09</title>
<link>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</link>
<description><![CDATA[ Here's an idea...use tables. they work everywhere. i honestly cant frickin believe people spend the time to figure out the latest css hack. i can't live that way. i want to get things done...until browsers stop supporting tables...tables it will be. ]]></description>
<pubDate>Sat, 18 Jul 2009 01:41:43 GMT</pubDate>
<guid>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</guid>
</item>
<item>
<title>webdevelopertut said on 6/29/09</title>
<link>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</link>
<description><![CDATA[ http://htmlcsstutorials.blogspot.com/2009/06/how-to-have-div-min-height.html

This tutorial will tell you how to give min-height, which will work in all the browsers including ie6 ]]></description>
<pubDate>Mon, 29 Jun 2009 02:41:16 GMT</pubDate>
<guid>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</guid>
</item>
<item>
<title>webdevelopertut said on 6/29/09</title>
<link>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</link>
<description><![CDATA[ http://htmlcsstutorials.blogspot.com/2009/06/how-to-have-div-min-height.html

This tutorial will tell you how to give min-height, which will work in all the browsers including ie6 ]]></description>
<pubDate>Mon, 29 Jun 2009 02:40:28 GMT</pubDate>
<guid>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</guid>
</item>
<item>
<title>joles04 said on 4/16/09</title>
<link>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</link>
<description><![CDATA[ Joel Larios ]]></description>
<pubDate>Thu, 16 Apr 2009 22:35:12 GMT</pubDate>
<guid>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</guid>
</item>
<item>
<title>jaspertandy said on 4/13/09</title>
<link>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</link>
<description><![CDATA[ yeah, those could go in the same declaration, as IE6 doesn't support !important or min-height so no hacks are required to get it to ignore those attributes. IE7 (to the best of my experience) supports !important and min-height so you're safe to use it there. ]]></description>
<pubDate>Mon, 13 Apr 2009 06:27:07 GMT</pubDate>
<guid>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</guid>
</item>
<item>
<title>mihael said on 1/26/09</title>
<link>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</link>
<description><![CDATA[ this could also be shortend like this:

#container {
height:auto!important;
mih-height:300px;
height:300px: /*for IE6*/
} ]]></description>
<pubDate>Mon, 26 Jan 2009 09:03:14 GMT</pubDate>
<guid>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</guid>
</item>
<item>
<title>bambam said on 11/20/08</title>
<link>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</link>
<description><![CDATA[ Only works for me (in IE7) if I put an !important on the 2nd section: 

/* for browsers that don't suck */
.container {
  min-height:8em; 
  height:auto !important;
}

/* for Internet Explorer */
/*\*/
* html .container {
  height: 8em !important;
}
/**/ ]]></description>
<pubDate>Thu, 20 Nov 2008 07:26:02 GMT</pubDate>
<guid>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</guid>
</item>
<item>
<title>Pring4 said on 11/10/08</title>
<link>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</link>
<description><![CDATA[ This is specifically for IE6. It does not fully support IE5.5 and below. And yes, IE7 does support min-height properly. ]]></description>
<pubDate>Mon, 10 Nov 2008 15:05:22 GMT</pubDate>
<guid>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</guid>
</item>
<item>
<title>superdeluxesam said on 9/10/08</title>
<link>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</link>
<description><![CDATA[ Is this specifically IE6 and lower? From my (admittedly brief) look through google it seems IE7 supports the property. ]]></description>
<pubDate>Wed, 10 Sep 2008 09:26:14 GMT</pubDate>
<guid>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</guid>
</item>
<item>
<title>rasmus said on 4/4/08</title>
<link>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</link>
<description><![CDATA[ <p>If you don't mind the undercore hack you can do it even shorter:</p>

<p>selector {    min-height: 500px;    _height: 500px;    }</p>

<p>This way you avoid using !important for compliant browsers which may or may not trip you up later down the line (through css or style set through js). </p> ]]></description>
<pubDate>Fri, 04 Apr 2008 09:19:02 GMT</pubDate>
<guid>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</guid>
</item>
<item>
<title>Winkyboy said on 1/14/08</title>
<link>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</link>
<description><![CDATA[ <p>You don't really need the "* html" part of the IE definition, I think.  This same solution can be found on DustinDiaz's site (http://www.dustindiaz.com/min-height-fast-hack/) without it.  Example:</p>

<p>selector {
min-height:500px;
height:auto !important;
height:500px; }</p>
 ]]></description>
<pubDate>Mon, 14 Jan 2008 15:29:59 GMT</pubDate>
<guid>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</guid>
</item>
<item>
<title>jonhenshaw said on 7/23/06</title>
<link>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</link>
<description><![CDATA[ <p>I wanted to make it clear that the the <em>8em</em> is arbitrary and can be whatever height you would like it to be. </p>
 ]]></description>
<pubDate>Sun, 23 Jul 2006 00:00:00 GMT</pubDate>
<guid>http://snipplr.com/view/62/minheight-for-ie-and-all-other-browsers/</guid>
</item>
</channel>
</rss>