Do overlapping statically positioned elements "obscure" each other

Hi --

Sorry to ask this here, but I've spent a good 45 minutes in the CSS2
spec, and can't find the answer...

The question is: Given two subsequent block element, eg A followed by B.
Both elements have content and background colors, and are statically
positioned.  Margins are used so that B is "backed up" to overlap A.
Should the background color of "B" obscure/hide the content of A? (I
believe it should)

In other words, does the implicit stacking order always put background
colors and images behind all element content, or is the implicit stacking
order for siblings of the form

   B1 < C1 < B2 < C2 ...

where 1, 2, etc. refer to subsqent sibling elements and B, C refer to
the element's background and 'content', and  B1 < C1 means "B1 is behind
C1"?

Ian
--
Ian Graham ......................... Centre for Academic Technology
i a n   d o t   g r a h a m    a t    u t o r o n t o   d o t   c a
..................... http://www.utoronto.ca/ian/ .................

Received on Thursday, 16 September 1999 10:06:45 UTC