Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS div opacity is making my picture darker too

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #34278
    mikeman
    Member

    Hey!

    I made my content_box on my wp thesis site just how i want it

    http://ronaproject.com/

    its black transparent, but the picture in the top right box is dim because of it

    any idea how i could fix this?

    #86733

    Use background: hsla(0,0%,0%,.75); instead of opacity: .75;

    #86737

    You need to remove all opacity properties, including the prefixed ones.

    #86740

    Replace:


    .custom #content_box {
    background: hsla(0,0%,0%,.75);
    background-color: #111111;
    width: 980px;
    height: auto;
    }

    with:


    .custom #content_box {
    background-color: #111;
    background-color: hsla(0,0%,0%,.75);
    width: 980px;
    height: auto;
    }

    #86745

    There is something funky going on with your code. It works fine inline, but not in the stylesheet.

    #86756
    Bob
    Member

    I can’t really see what you’re trying to do here. Can you clarify this for me, exactly what you want to do?

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.