z-index
specified, whilst the first element doesn’t. The ul
just below this text has a relative
position
. When the page is scrolled, and the orange div
overlaps that list, all looks fine. When the green div overlaps it, however, the list items are shown in front of it.
- one
- two
- three
expected behavior…
Since the green DIV has no z-index priority… it is on the same plane as every other non z-indexed element on the page. The indexing now falls to where it’s placed in the code. Since it’s before the UL list… it has a lower indexing on that plane… If you place the green DIV after the UL list… you'll see that it now goes over the UL list… thus having a higher indexing on that plane…
Revisions
- October 18, 2013 @ 00:45:29 [Current Revision] by PeterLugg
- October 18, 2013 @ 00:45:29 by PeterLugg
- October 18, 2013 @ 00:45:03 by PeterLugg
Revision Differences
There are no differences between the October 18, 2013 @ 00:45:29 revision and the current revision. (Maybe only post meta information was changed.)
No comments yet.