Solution for PNG images in css

August 5, 2008 at 9:21 am 1 comment

Many of us might have nightmare’s using png images as they are not supported in IE. Here is the solution we can use to overcome that nightmare


Method 1:

html>body .className{
 background: url(“../images/suresh kumar.png”) no-repeat;

Method 2:

* html #id{
 filter: progid XImageTransform.Microsoft.AlphaImageLoader(src=’images/sureshkumar.png’, sizingmethod=’crop’);
 cursor: hand;

Entry filed under: css. Tags: , , .

min-height hack/workaround in IE6,IE7 & Firefox Olympics 2008 | Incredible Michael Phelps

1 Comment Add your own

  • 1. Noclegi Kotlina  |  May 19, 2009 at 7:10 am

    I always found pngs to be an unnecessary waste of space. Seriously, how often do you need quality that high?


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed

Flickr Photos

Top Clicks

  • None

Blog Stats

  • 730,517 hits

%d bloggers like this: