Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Can you make a graphic hover over a Web page?

I want to float a graphic over other elements of a Web page. I thought you could do this with .css, but it doesn't seem to be working.

2 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    The easiest way I can think of is to create a new DIV, set its position: absolute, give it a left and top value, and a z-index higher than anything else on the page. Then it should float over the other content.

    ~ Megan

  • 1 decade ago

    did you try using a class and in css putting the z option to at least a +1?

Still have questions? Get your answers by asking now.