My understanding is that most layout (positioning and dimension) problems with CSS are the result of a bad understanding of which is containing box of the box you are trying to lay out.
However as far as I can tell, there is no means to know which is that containing box in browsers development tools like firebug, chrome or opera's inspection utilities.
So does anyone know a reliable way to get that information ? And if possible in a visual way, e.g. like the box margin, border and padding boundaries highlighting present in all modern browser.
:beforewithposition:absolute; top:0; left:0; right:0; bottom:0; background-color:rgba(0,255,0,0.3)? – Peter Taylor Sep 12 '11 at 10:27