Reputation: 1474
According to MDN and this blog, when z-index is not used, positioned elements should always stack over the float elements when they overlap. However, the example in the MDN link doesn't justify that. How come?
Upvotes: 1
Views: 93
Reputation: 1206
The answer is in the link you provided: The stacking order is -
As this stacking order is before any of the others, it take priority - so DIV#1 will be behind other floating & positioned DIVs, ignoring normal DIVs.
Upvotes: 1