Now I want to give the internal div an higher z index so it will be in the front.
I of course change the internal div position.
When I tried to do it, it didn't work.
The father div function as if it has an higher z-index, although it has lower z-index.
Why is that and how can I fix it without talking out the internal div outside the div that wrap it.
yo do realizes that some CSS will not work on Microsoft browsers, right?
That's a bald-faced lie. On the rare occasion tt may work differently but it still works.
I assume, from your description that you meant this (just to illustrate a little more clearly):
Code:
<div id="parent">
<div id="child">
</div>
</div>
And your question is how to get the child to have a higher z-index than the parent?
The answer is the child, by default, will always have a higher z-index (and therefore be painted on top of) the parent (and yes, this is the situation in all browers). Perhaps you meant something else?
I've switched careers...
I'm NO LONGER a scientist,
but now a web developer...
awesome.
That's a bald-faced lie. On the rare occasion tt may work differently but it still works.
If he uses CSS3 -- some elements of it will not work even in IE9 while working just fine on the rest of the browsers...
So you are not exactly correct.
If he uses CSS3 -- some elements of it will not work even in IE9 while working just fine on the rest of the browsers...
So you are not exactly correct.
It's a z-index question!! Does z-index sound like CSS3 to you? Don't talk ridiculous semantics, why in the world would you respond to a legitimate CSS2.1 question with:
"you know some CSS won't work in MS browsers, right?"
I've switched careers...
I'm NO LONGER a scientist,
but now a web developer...
awesome.
Bookmarks