Skip navigation
Currently Being Moderated

floated .png no longer transparent background

Jul 7, 2013 9:19 PM

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?

 
Replies
  • Currently Being Moderated
    Jul 7, 2013 11:29 PM   in reply to Palisades-Web

    Are you applying the class to the image itself or the DIV that contains it?

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 7, 2013 11:39 PM   in reply to Palisades-Web

    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?

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points