Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

« Newer Snippets
Older Snippets »
Showing 1-2 of 2 total  RSS 

transparent pngs in IE

Keep in mind that the AlphaImageLoader takes a relative path to the HTML page, not the CSS file (which is in contrast to normal css behavior). Absolute positioning causes it to act funky, so I wouldn't recommend it.

* html #blah {
  filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/full/path/to/img.png', sizingMethod='crop');
  background:none;
  cursor:hand; /* only if this is a link */
  position:relative;
}

css opacity in IE

opacity:.7; /* css standard */
filter:alpha(opacity=70); /* IE patch */
« Newer Snippets
Older Snippets »
Showing 1-2 of 2 total  RSS