Philip Nye wrote: > Further to my last post, I find that the collapser example I gave works OK. > > The problem I have occurs because some of the blocks I want to collapse > contain either nothing, or only empty elements. My css for these empty > elements (which are always empty) contained no selector for the element body > (since it's empty) and this gives rise to the trouble.
I've also experienced this problem. The collapser of some collapsible blocks that doesn't contain children (or contains hidden children) collapses the block's parent instead of the block itself. > > This gives rise to another question which is probably realy trivial. How do I > suppress the gray block which appears when an element is empty? I have an > element:before section which displays some attributes, but when the element > is empty (very common) I get a large gray block below which I cannot get rid > of. > > Philip Nye -- ------------------------------------------------------------------------ Manuel Collado Machuca | Facultad de Informatica UPM Universidad Politecnica de Madrid | Campus de Montegancedo Dep. LSIIS | Boadilla del Monte Tel.+34-91-336.74.57 Fax.+34-91-336.74.12 | 28660 MADRID - SPAIN ------------------------------------------------------------------------

