<?xml version="1.0" encoding="UTF-8"?>
<codes type="array">
  <code>
    <code>&lt;link media=&quot;only screen and (max-device-width: 480px)&quot; href=&quot;iPhone.css&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot; /&gt;</code>
    <created-at type="datetime">2009-08-22T15:25:43Z</created-at>
    <description></description>
    <id type="integer">192</id>
    <language-id type="integer">9</language-id>
    <privated type="boolean">false</privated>
    <title>iPhone CSS</title>
    <updated-at type="datetime">2009-08-22T15:25:43Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>body { 
width:100% !important;
margin:0 !important;
padding:0 !important;
line-height: 1.4;
word-spacing:1.1pt;
letter-spacing:0.2pt; font-family: Garamond,&quot;Times New Roman&quot;, serif; color: #000; background: none; font-size: 12pt; }

h1,h2,h3,h4,h5,h6 { font-family: Helvetica, Arial, sans-serif; }
h1{font-size:19pt;}
h2{font-size:17pt;}
h3{font-size:15pt;}
h4,h5,h6{font-size:12pt;}

code { font: 10pt Courier, monospace; } 
blockquote { margin: 1.3em; padding: 1em;  font-size: 10pt; }
hr { background-color: #ccc; }

img { float: left; margin: 1em 1.5em 1.5em 0; }
a img { border: none; }

a:link, a:visited { background: transparent; font-weight: 700; text-decoration: underline;color:#333; }
a:link[href^=&quot;http://&quot;]:after, a[href^=&quot;http://&quot;]:visited:after { content: &quot; (&quot; attr(href) &quot;) &quot;; font-size: 90%; }
a[href^=&quot;http://&quot;] {color:#000; }

table { margin: 1px; text-align:left; }
th { border-bottom: 1px solid #333;  font-weight: bold; }
td { border-bottom: 1px solid #333; }
th,td { padding: 4px 10px 4px 0; }
tfoot { font-style: italic; }
caption { background: #fff; margin-bottom:2em; text-align:left; }
thead {display: table-header-group;}
tr {page-break-inside: avoid;} </code>
    <created-at type="datetime">2009-08-04T01:45:35Z</created-at>
    <description>http://code.google.com/p/hartija/</description>
    <id type="integer">188</id>
    <language-id type="integer">9</language-id>
    <privated type="boolean">false</privated>
    <title>hartija css print framework</title>
    <updated-at type="datetime">2009-08-04T01:45:35Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>.class {  
    filter:alpha(opacity=50);  
    -moz-opacity:0.5;  
    -khtml-opacity: 0.5;  
    opacity: 0.5;  
}</code>
    <created-at type="datetime">2009-06-21T21:57:42Z</created-at>
    <description></description>
    <id type="integer">181</id>
    <language-id type="integer">9</language-id>
    <privated type="boolean">false</privated>
    <title>cross-browser transparency using css</title>
    <updated-at type="datetime">2009-06-21T21:57:42Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>body {
	background: #[hex-color] url([image URL]) [repeat] [attachment] [position];
}

p {
	font: [style] [variant] [weight] [size]/[line-height] [family], [family];
}</code>
    <created-at type="datetime">2009-05-10T14:24:28Z</created-at>
    <description></description>
    <id type="integer">174</id>
    <language-id type="integer">9</language-id>
    <privated type="boolean">false</privated>
    <title>short css</title>
    <updated-at type="datetime">2009-05-10T14:24:28Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>a {
	background-color:#fff;
	border-width:1px;
	border-style:solid;
	border-bottom-color:#aaa;
	border-right-color:#aaa;
	border-top-color:#ddd;
	border-left-color:#ddd;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	-webkit-box-shadow:2px 2px 2px #bbb;
	
	padding: 10px;
}
a:hover {
	border-top-color:#aaa;
	border-left-color:#aaa;
	border-right-color:#ddd;
	border-bottom-color:#ddd;
	-webkit-box-shadow:0 0 0;
}</code>
    <created-at type="datetime">2009-05-01T20:54:16Z</created-at>
    <description></description>
    <id type="integer">173</id>
    <language-id type="integer">9</language-id>
    <privated type="boolean">false</privated>
    <title>cool link effect with css</title>
    <updated-at type="datetime">2009-05-01T20:56:36Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>&lt;html&gt;
&lt;head&gt;
	&lt;style&gt;
		.tee_holder_small {
			background-position:-84px 0;
			background-repeat:no-repeat;
			height:183px;
			width:144px;	
		}
		#smallOverlayHolder{
			position:absolute;
			z-index:10;
			width:228px;
			height:312px;
			padding-left:84px;
			background-repeat:no-repeat;
		}
		#smallOverlayHolder a{
			display:block;
			width:144px;
			height:183px;
		}
	&lt;/style&gt;
	&lt;script type=&quot;text/javascript&quot; src=&quot;http://code.jquery.com/jquery-latest.pack.js&quot;&gt;&lt;/script&gt;
	&lt;script type=&quot;text/javascript&quot;&gt;
		function toggleSmallTee(smallID,URL){
			var offset = $(&quot;#&quot;+smallID).offset();
			$(&quot;#smallOverlayHolder&quot;).css(&quot;left&quot;,(offset.left-84)+&quot;px&quot;);
			$(&quot;#smallOverlayHolder&quot;).css(&quot;top&quot;,(offset.top)+&quot;px&quot;);
			$(&quot;#smallOverlayHolder&quot;).css(&quot;backgroundImage&quot;,$(&quot;#&quot;+smallID).css(&quot;backgroundImage&quot;));
			$(&quot;#smallOverlayHolder&quot;).html('&lt;a href=&quot;'+URL+'&quot; onmouseout=&quot;toggleSmallTee(\''+smallID+'\',\''+URL+'\')&quot;&gt;&lt;/a&gt;');
			$(&quot;#smallOverlayHolder&quot;).toggle();
		}
	&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
	&lt;div id=&quot;smallOverlayHolder&quot; style=&quot;display:none;&quot;&gt;&lt;/div&gt;

	&lt;div id=&quot;p1727&quot; class=&quot;m_b_5 tee_holder_small&quot; style=&quot;background-image:url(http://media.typetees.com//product/312x312/1727-tee_large.png)&quot;&gt;
		&lt;a href=&quot;/product/1727/Actually_medicine_is_the_best_medicine&quot; onmouseover=&quot;toggleSmallTee('p1727','/product/1727/Actually_medicine_is_the_best_medicine')&quot;&gt;
			&lt;img src=&quot;http://media.typetees.com/imgs/tee_small_overlay.png&quot; width=&quot;144&quot; height=&quot;183&quot; alt=&quot;Actually, medicine is the best medicine.&quot;/&gt;
		&lt;/a&gt;
	&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</code>
    <created-at type="datetime">2009-03-22T18:44:40Z</created-at>
    <description>http://www.typetees.com/</description>
    <id type="integer">163</id>
    <language-id type="integer">16</language-id>
    <privated type="boolean">true</privated>
    <title>typetees.com tshirt mouse over effect</title>
    <updated-at type="datetime">2009-03-22T18:44:40Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>border-radius: 9px; /* CSS 3 */
-o-border-radius: 9px; /* Opera */
-icab-border-radius: 9px; /* iCab */
-khtml-border-radius: 9px; /* Konqueror */
-moz-border-radius: 9px; /* Firefox */
-webkit-border-radius: 9px; /* Safari */</code>
    <created-at type="datetime">2009-03-14T18:19:21Z</created-at>
    <description>ie sux (again)</description>
    <id type="integer">161</id>
    <language-id type="integer">9</language-id>
    <privated type="boolean">false</privated>
    <title>cross-browser rounded corners using css</title>
    <updated-at type="datetime">2009-03-14T18:19:21Z</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>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot; &quot;http://www.w3.org/TR/html4/strict.dtd&quot;&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Demo&lt;/title&gt;

&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;&gt;

&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js&quot;&gt;&lt;/script&gt;

&lt;script type=&quot;text/javascript&quot;&gt;
(function ($) {
$.fn.vAlign = function() {
	return this.each(function(i){
	var h = $(this).height();
	var oh = $(this).outerHeight();
	var mt = (h + (oh - h)) / 2;	
	$(this).css(&quot;margin-top&quot;, &quot;-&quot; + mt + &quot;px&quot;);	
	$(this).css(&quot;top&quot;, &quot;50%&quot;);
	$(this).css(&quot;position&quot;, &quot;absolute&quot;);	
	});	
};
})(jQuery);

(function ($) {
$.fn.hAlign = function() {
	return this.each(function(i){
	var w = $(this).width();
	var ow = $(this).outerWidth();	
	var ml = (w + (ow - w)) / 2;	
	$(this).css(&quot;margin-left&quot;, &quot;-&quot; + ml + &quot;px&quot;);
	$(this).css(&quot;left&quot;, &quot;50%&quot;);
	$(this).css(&quot;position&quot;, &quot;absolute&quot;);
	});
};
})(jQuery);

$(document).ready(function() {
	$(&quot;#content&quot;).vAlign();
	$(&quot;#content&quot;).hAlign();
});
&lt;/script&gt;

&lt;style type=&quot;text/css&quot;&gt;
html { background: #fafafa; }

#content
{
background: #fff;
border: 10px solid #eee;
padding: 20px;
color: #666;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
line-height: 25px;
text-align: justify;
}

#content { width: 400px; }
&lt;/style&gt;

&lt;/head&gt;

&lt;body&gt;

&lt;div id=&quot;content&quot;&gt;
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas eu dui eget nulla condimentum gravida. Vivamus erat leo, ultricies quis, gravida a, fringilla eu, urna. Pellentesque a mauris ac nisl semper egestas. Pellentesque ut elit in pede mattis gravida. Donec ac lectus a nisi suscipit placerat. Maecenas quis ipsum. Pellentesque mattis tellus. Suspendisse sollicitudin accumsan tortor. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed metus. Quisque et leo at erat rutrum lobortis. In tempus lectus eget ligula convallis tristique. 
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;</code>
    <created-at type="datetime">2009-02-25T15:21:37Z</created-at>
    <description>from: http://www.nealgrosskopf.com/tech/thread.asp?pid=37</description>
    <id type="integer">154</id>
    <language-id type="integer">16</language-id>
    <privated type="boolean">false</privated>
    <title>CSS Horizontal And Vertical Align JQuery Plugin</title>
    <updated-at type="datetime">2009-02-25T15:21:37Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>.clearfix:after {
    content: &quot;.&quot;;
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}</code>
    <created-at type="datetime">2008-11-18T02:28:38Z</created-at>
    <description>&quot;The problem happens when a floated element is within a container box, that element does not automatically force the container's height adjust to the floated element. When an element is floated, its parent no longer contains it because the float is removed from the flow&quot;

http://www.webtoolkit.info/css-clearfix.html</description>
    <id type="integer">108</id>
    <language-id type="integer">9</language-id>
    <privated type="boolean">false</privated>
    <title>css clearfix</title>
    <updated-at type="datetime">2008-11-18T02:28:38Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
</codes>
