Grow your CSS skills. Land your dream job.

[Solved] Background-Image stays in background

  • # July 21, 2010 at 4:46 am

    Sound’s strange, but true so i’ll try to explain my problem.

    The site is: http://rames.asc-swiss.ch/joomla/

    I made a background-image for the Menubar (Aktuell/Restaurant….) and as you can see, the "über uns" is above the picture, but the background-image is under the image… any suggestions what that could be?

    Tried with z-index but the background-image stays where it is

    Thanks in advance for an answer :)

    If you have any questions just ask

    Greetings problemz

    # July 21, 2010 at 6:11 am

    Please use z-index for the menus image, So that the image will show up.. :)

    # July 21, 2010 at 6:43 am

    the image already show’s up (über uns) is above the picture, but the background-image of the menu is still behind the top right image.

    To show the text I use
    //menu bar
    .menu
    {
    z-index:11;
    }
    //top right image
    #deck_right
    {
    z-index:10;
    }

    results in: Text is shown, but background-color/background-image is still behind the image

    # July 21, 2010 at 7:32 am

    try the z-index on moduletable

    # July 21, 2010 at 8:24 am

    Add

    Code:
    .menu{position: absolute;}
    # July 21, 2010 at 10:57 am

    That was exactly what I was lookin for :) ABSOLUTE brilliant :) thanks

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".