how embed transparent image in our code

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
waseem83
Forum Commoner
Posts: 54
Joined: Tue Jun 23, 2009 3:51 am
Contact:

how embed transparent image in our code

Post by waseem83 »

Hi i have code

<html>
<head>
<title>Your Title</title>

</head>
<body>
<div >

<img src="logone.png" />


</div>
</body>
</html>

When i run it in firefox it works fine but when i run it in IE 6 transparency of image finish.

can any body help me?
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: how embed transparent image in our code

Post by onion2k »

IE6 can't do PNG alpha channels without a bit of help. Here's one way of making it work... http://24ways.org/2007/supersleight-tra ... png-in-ie6 ...there are lots more though.
Post Reply