Transparent Image Background in content?

Discussion in 'Joomla' started by basketballboy, Oct 25, 2009.

  1. #1
    Hello, I'm have a problem here, don't know how to fix it. This only happens within articles, but transparent images are given a white background and non transparent images are given a white border. I've tried dozens of images and it doesn't fix the issue (from my server and even transparent images on other sites as well). Please help me out.

    Here is an example of what I'm talking about: realcollegebasketball.com/rcf/index.php?option=com_content&view=article&id=2:follow-us&catid=3:item

    Thanks!
     
    basketballboy, Oct 25, 2009 IP
  2. mjewel

    mjewel Prominent Member

    Messages:
    6,693
    Likes Received:
    514
    Best Answers:
    0
    Trophy Points:
    360
    #2
    Change the css:

    div.article-content img, .img-desc img {
    background:#FFFFFF none repeat scroll 0 0;
    border:1px solid #DDDDDD;
    margin:0 8px 0 0;
    padding:4px;
    }

    To this:

    div.article-content img, .img-desc img {
    background:transparent repeat scroll 0 0;
    border:1px solid #DDDDDD;
    margin:0 8px 0 0;
    padding:4px;
    }
     
    mjewel, Oct 25, 2009 IP
  3. basketballboy

    basketballboy Member

    Messages:
    222
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #3
    Awesome, worked perfectly! Thanks mjewel!
     
    basketballboy, Oct 25, 2009 IP