<?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>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>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>
</codes>
