2

Is it possible to have a solid div over a transparent text? A have div that hides/shows on mouseover a certain element. But the transparent text in the background messes with the div content. I want to make the div solid over all the background content. is this possible with CSS?

2
  • 1
    You might want to provide the code that you have so far. Yes, it should be possibe and it shouldn't require much change from what you already have I expect so paste what you have and people can tell you what needs changing. Using jsfiddle.net or a similar tool can help even more (though if you use this put the code in the question and then a link to jsfiddle - don't just use jsfiddle).
    – Chris
    Dec 10, 2012 at 10:00
  • If the elements have relative, absolute or fixed positioning you can use the z-index Dec 10, 2012 at 10:00

1 Answer 1

1

The solution is in using of z-index CSS attribute.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.