Skip to main content

Forums

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #292175
    iosman123
    Participant

    I am new to the forums, but been visiting the site for while and enjoy the articles and info.

    My problem/question is that I have read on how to make a DIV background with a level of Opacity without affecting any text. My test of performing these recommendations have not worked and have always resulted in complete Opacity for all content.

    My situation is that I have a relative positioned Div floating above another DIV and want to make the background 0% Opacity (completely transparent – maybe that’s termed 100% Opacity) so that the graphics of the DIV underneath will show through.

    Thanks
    iosman

    #292183
    Paulie_D
    Moderator

    Don’t use opacity…make the background partially transparent using a color format that accepts an alpha value (eiher rgba or hsla).

    See – https://stackoverflow.com/questions/806000/how-do-i-give-text-or-an-image-a-transparent-background-using-css

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.