CSS Rotation

1 08 2010

Safari/Chrome
-webkit-transform: rotate(90deg);

Firefox
-moz-transform: rotate(90deg);

IE
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);





CSS Gradient

1 08 2010

IE
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=’#cccccc’, endColorstr=’#000000′);

Safari/Chrome
background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#000));

Firefox 3.6+
background: -moz-linear-gradient(top, #ccc, #000);





Min-Height Fix

1 08 2010

IE6 Compatability.. ARGH

content {
  min-height:300px;
  height:auto !important;
  height:300px;
}