Forums

[resolved] divs on top of background image not working (4 posts)

  1. ascii_girl
    Member
    Posted 10 months ago #

    Help! I've been struggling with the divs on top of the background image. (it's inline with code)
    cuestacpacfriends.org/ (scroll down to see the text).
    How do I get the divs on top of the background image. Does it need to be in the css or the html or is there php code to do this? If so, which php file needs it?
    thanks!

  2. money-maker
    Member
    Posted 10 months ago #

    Hello, a background image is generally attached to a div, and the text you want in front of the background are sub divs within that background. However without a better description its impossible to help. If you want more help, put up a background image sample, and specify where you want.

  3. nisaiy
    Member
    Posted 10 months ago #

    When I visit the website, I don't see the background image, just balck color.

    Generally, if you want the divs on top of the background.
    you can use sytlesheet and set its position and z-index.

  4. ascii_girl
    Member
    Posted 10 months ago #

    Thanks for your help. The problem ended up being that I needed to use absolute instead of relative links and I had too many divs, so I cleaned up the code and it works now.

Reply

You must log in to post.

About this Topic