This is really bizarre. I have a .png image file that happens to have a transparent background. It looks fine when I import it into Dreamweaver. But as soon as I apply my float right class to it, the background is no longer transparent . The background turns to a light gray color. Anyone know what might be causing this?
Odd... Do you have any other rules for floats in your CSS?
Without seeing the code I can only guess.
And... by "importing" do you mean that you saved the PNG and copied it to your images folder? Or did you use photo edtiting software to import it with HTML?
Ooops! I thought the style consisted of simply a float to the left but in fact there was more mumbo jumbo in there. I created a new class and everything is working fine.
Not import but rather insert > Image.