Thanks everyone - I had misunderstood the use of underline in the spec as
default.

I hadnt expected that it was necessary to repeat the inherit rules EVEN in
any intermediate containing blocks (see  middle class below)

Seems like some kind of  single style rule is needed to inherit all of the
containing box rules (inherit:all)  or a some kind of rule to ensure the
current rules are inherit by any sibling containers {inherit:siblings}

<STYLE>
.outer
{
 display:block;
 width:50px;
   height:50px;
 background-color:red;
}


..middle
{

 display:inherit;
 width:inherit;
   height:inherit;
  background-color:inherit;

}

.inner
{

 display:inherit;
 width:inherit;
   height:inherit;
 background-color:green;
}

</STYLE>


<div class="outer">
<div class="middle" >
<div class="inner" >
 </div>
</div>
</div>




Reply via email to