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

Home Forums CSS [Solved] Overlaying an Image instead of a Div

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #200399

    Heyo! Keeping this brief and to the point:

    At the moment I’m styling Div’s to add opacity over an image set as a background image property in css.

    Except I need to set this image in an instead of a div

    Currently my code looks as follows

    I need the same effect but need to be able to change the img with php (hence needing an ) and i’m not a fan of using any inline css.

    *editted out some nasty spacing


    Oh my! Yeah that is meant to be ‘in an img tag’… sorry about that.


    ^^ Was quite silly of me to struggle this badly with it.

    Just adding text onto image following this article >

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