Is there any PNG-fix for IE 6 and without modifying current HTML, CSS and image name?
any javascript way.
I can add any thing in <head>........</head>
but can't modify anythings inside <body>.....</body>
.
in one shot i want to make transparent all png transparent.
As I just learned, this script will make IE behave like a standards compliant browser, including PNG fixes.
OK here's a question: if you can't modify the HTML, CSS or image at all, what the heck can you modify? The raw network stream coming from the server?
My preferred PNGFix is DD_belatedPNG. It is easy to use, example from the page:
<!--[if IE 6]>
<script src="DD_belatedPNG.js"></script>
<script>
/* EXAMPLE */
DD_belatedPNG.fix('.png_bg');
/* string argument can be any CSS selector */
/* .png_bg example is unnecessary */
/* change it to what suits you! */
</script>
<![endif]-->
You can set that .png_bg
selector to whatever you see fit. Perhaps you want to replace all of the headings on a page: DD_belatedPNG.fix('h1,h2,h3');