Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

css - overlaying div on a banner div

Options
  • 28-07-2008 7:23am
    #1
    Registered Users Posts: 872 ✭✭✭


    Hi,

    I am trying to have a div with text and a transparent background sitting on top of the banner div on my page.

    I tried to position the text div absolutely so it could sit it on top of the banner, of course it's fine in FF but IE6 and 7 position the div to the right of the banner, so it looks completely messed up.

    Are there some particular IE hacks for dealing with this problem ?

    Thanks


Comments

  • Registered Users Posts: 2,413 ✭✭✭Stab*City


    grahamor wrote: »
    Hi,

    I am trying to have a div with text and a transparent background sitting on top of the banner div on my page.

    I tried to position the text div absolutely so it could sit it on top of the banner, of course it's fine in FF but IE6 and 7 position the div to the right of the banner, so it looks completely messed up.

    Are there some particular IE hacks for dealing with this problem ?

    Thanks

    u need to assign the "top" div a higher z-index than the one below.. if thats not the problem just to test it stick a couple break tags between the two divs and see does explorer push it down..


Advertisement