Previous Message
Next Message

Re: [css-d] Re: How to get 100% height column?

Sent by Eric B. Bednarz on 27 February 2002 07:07


On 27 Feb 2002, at 12:40, Rijk van Geijtenbeek wrote:

> On Wednesday, February 27, 2002, Eric wrote:
> 
> [..]
> 
> >     Where things gets fuzzy is in the definition of a containing block
> > for an element that doesn't have any positioned ancestors.  In such a
> > case, the containing block is the root element.
> 
> Well, only in two cases:
> - the element is positioned

Only if it's not a descendand of another positioned element.

<body><div style="position:relative;height:20px;"><div 
style="position:absolute;top:0;left:0;height:20%;">blah</div>...

The paragraph should be 4 px high.

Cheers, Eric
Previous Message
Next Message

Message thread:

Possibly related: