<?xml version="1.0" encoding="UTF-8"?>
<codes type="array">
  <code>
    <code>* html #selector {property:value;} /* Only IE6 and lower will see this */
*+html #selector {property:value;} /* Only IE7 will see this */</code>
    <created-at type="datetime">2009-08-22T15:27:23Z</created-at>
    <description></description>
    <id type="integer">194</id>
    <language-id type="integer">9</language-id>
    <privated type="boolean">false</privated>
    <title>ie 6 and 7 selectors hack</title>
    <updated-at type="datetime">2009-08-22T15:27:23Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>/* IE6 - pseudo class :hover */ 
$(document).ready(function(){ 
	if(jQuery.browser.msie &amp;&amp; jQuery.browser.version&lt;7){ 
		$('[class*=&quot;bla&quot;]').hover( 
		function () { 
			$(this).addClass('hover'); 
		}, 
		function () { 
			$(this).removeClass('hover'); 
		} 
		); 
	} 
});</code>
    <created-at type="datetime">2009-08-10T20:42:45Z</created-at>
    <description></description>
    <id type="integer">190</id>
    <language-id type="integer">19</language-id>
    <privated type="boolean">false</privated>
    <title>hover for ie 6</title>
    <updated-at type="datetime">2009-08-10T20:42:45Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>input { overflow: visible; }</code>
    <created-at type="datetime">2009-03-14T15:24:37Z</created-at>
    <description>ie sux!</description>
    <id type="integer">160</id>
    <language-id type="integer">9</language-id>
    <privated type="boolean">false</privated>
    <title>fixing the ridiculous auto-padding in ie (win) submit buttons</title>
    <updated-at type="datetime">2009-03-14T15:24:37Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>Event.observe(window, 'load', function() { 
var fields = $$(&quot;input&quot;); 
for (var i = 0; i fields[i].onfocus = function() {this.className += ' focused';} 
fields[i].onblur = function() {this.className = this.className.replace('focused', '');} 
} 
}); 

// in css, paste
// input:focus, /* works in FF without javascript */ 
// input.focused /* used by js */ 
// { background-color: #f7cd72; } </code>
    <created-at type="datetime">2008-11-18T01:37:18Z</created-at>
    <description></description>
    <id type="integer">103</id>
    <language-id type="integer">19</language-id>
    <privated type="boolean">false</privated>
    <title>[prototype] adding input:focus functionality to ie</title>
    <updated-at type="datetime">2008-11-18T01:37:18Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>&lt;!--[if IE]&gt;
	&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;ie-only.css&quot; /&gt;
&lt;![endif]--&gt;

# Embedded CSS
&lt;!--[if IE]&gt;
  &lt;style type=&quot;text/css&quot;&gt;
    #container {font-family: arial,verdana,sans-serif,tahoma;}
  &lt;/style&gt;
&lt;![endif]--&gt;

# The opposite technique, targeting only NON-IE browsers:
&lt;!--[if IE]&gt;
	&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;ie-only.css&quot; /&gt;
&lt;![endif]--&gt;

# Target specific versions of IE
# IE 7 ONLY:
&lt;!--[if IE 7]&gt;
	&lt;link href=&quot;IE-7-SPECIFIC.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt;
&lt;![endif]--&gt;

# IE 6 ONLY:
&lt;!--[if IE 6]&gt;
	&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;IE-6-SPECIFIC.css&quot; /&gt;
&lt;![endif]--&gt;

# IE 5 ONLY:
&lt;!--[if IE 5]&gt;
	&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;IE-5-SPECIFIC.css&quot; /&gt;
&lt;![endif]--&gt;

# IE 5.5 ONLY:
&lt;!--[if IE 5.5000]&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;IE-55-SPECIFIC.css&quot; /&gt;
&lt;![endif]--&gt;

# VERSION OF IE VERSION 6 OR LOWER: (I find this one pretty handy)
&lt;!--[if lt IE 7]&gt;
	&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;IE-6-OR-LOWER-SPECIFIC.css&quot; /&gt;
&lt;![endif]--&gt;</code>
    <created-at type="datetime">2008-09-17T02:47:23Z</created-at>
    <description></description>
    <id type="integer">64</id>
    <language-id type="integer">16</language-id>
    <privated type="boolean">false</privated>
    <title>ie conditional hack</title>
    <updated-at type="datetime">2008-09-17T02:47:23Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>p {			
	background: green !important; /* Major browsers other than IE 6 and below respect the importance immediately */
	background: red; /* IE 6 and below use this value instead, even though the above was marked as important */
}</code>
    <created-at type="datetime">2008-07-23T19:41:29Z</created-at>
    <description></description>
    <id type="integer">42</id>
    <language-id type="integer">9</language-id>
    <privated type="boolean">false</privated>
    <title>another ie 6 hack</title>
    <updated-at type="datetime">2008-07-23T19:41:29Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>var clear=&quot;images/clear.gif&quot; //path to clear.gif

pngfix=function(){var els=document.getElementsByTagName('*');var i_p=/\.png/i;var i=els.length;while (i-- &gt;0){var el=els[i];var es=el.style;if(el.src&amp;&amp;el.src.match(i_p)&amp;&amp;es.filter==''){el.height = el.height;el.width = el.width;es.filter = &quot;progid:DXImageTransform.Microsoft.AlphaImageLoader(src='&quot;+el.src+&quot;',sizingMethod='crop')&quot;;el.src = clear;}else{var elb=el.currentStyle.backgroundImage;if(elb.match(i_p)){var path=elb.split('&quot;');var rep=(el.currentStyle.backgroundRepeat=='no-repeat')?'crop':'scale';es.filter=&quot;progid:DXImageTransform.Microsoft.AlphaImageLoader(src='&quot;+path[1]+&quot;',sizingMethod='&quot;+rep+&quot;')&quot;;es.height=el.clientHeight+'px';es.backgroundImage=&quot;none&quot;;}}if (el.currentStyle.position!='absolute' &amp;&amp; !es.filter &amp;&amp; !el.tagName.match(/(body|html|script)/gi)) es.position=&quot;relative&quot;;if (es.filter&amp;&amp;el.currentStyle.position==&quot;relative&quot;) es.position=&quot;static&quot;;}}
window.attachEvent('onload',pngfix);</code>
    <created-at type="datetime">2008-07-17T22:20:49Z</created-at>
    <description>create a 1x1 'clear.gif' image</description>
    <id type="integer">39</id>
    <language-id type="integer">19</language-id>
    <privated type="boolean">false</privated>
    <title>1kb ie 6 png fix hack</title>
    <updated-at type="datetime">2008-07-17T22:20:49Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>selector {
  min-height:500px;
  height:auto !important;
  height:500px;
}</code>
    <created-at type="datetime">2008-07-17T19:27:49Z</created-at>
    <description>http://www.dustindiaz.com/min-height-fast-hack/</description>
    <id type="integer">38</id>
    <language-id type="integer">9</language-id>
    <privated type="boolean">false</privated>
    <title>another min-height hack</title>
    <updated-at type="datetime">2008-07-17T19:27:49Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
</codes>
