Do z-indexes only work if they're being used in the same CSS sheet?
For instance page1.css has an element that has a z-index:1;
and page2.css has an element that a z-index:0;
Will this work? Or do both elements need to be in the same css page?
It doesn't matter - all linked and embedded CSS will be evaluated and treated the same. It doesn't matter whether you have different elements referenced in different CSS files, or if you have one separate CSS file that deals only with z-indexes, it will work out the same.
(Ok, that ignores the rules of precedence if you have two conflicting rules being applied to the same thing, but assuming you haven't done that, it will work out the same)
This topic is now closed. New replies are no longer allowed.